You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2012/07/12 22:23:35 UTC

[jira] [Created] (CB-1052) Media API does not adhere to whitelist

Filip Maj created CB-1052:
-----------------------------

             Summary: Media API does not adhere to whitelist
                 Key: CB-1052
                 URL: https://issues.apache.org/jira/browse/CB-1052
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 1.9.0
            Reporter: Filip Maj
            Assignee: Joe Bowser
            Priority: Minor


You can see this in the mobile-spec test (where it by default tests media using an external source).

Shouldn't it adhere to the whitelist?

Setting to minor priority and not slating for any specific release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1052) Media API does not adhere to whitelist

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457098#comment-13457098 ] 

Simon MacDonald commented on CB-1052:
-------------------------------------

[~shepheb] In the first place we should get this damn API normalized across all the platforms. Going forward, the Web Audio API looks cool but it is beyond what we really need. I was thinking we need to get the Audio tag working as a JavaScript API:

http://www.position-absolute.com/articles/introduction-to-the-html5-audio-tag-javascript-manipulation/
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1052) Media API does not adhere to whitelist

Posted by "Braden Shepherdson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456066#comment-13456066 ] 

Braden Shepherdson commented on CB-1052:
----------------------------------------

Is it true that the whitelist doesn't apply to the Media API?
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1052) Media API does not adhere to whitelist

Posted by "Saurabh Kr Singh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423674#comment-13423674 ] 

Saurabh Kr Singh commented on CB-1052:
--------------------------------------

As far as I understand the whitelist is meant for filtering only the urls from loading in Android WebView only.
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Lorin Beer
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1052) Media API does not adhere to whitelist

Posted by "Braden Shepherdson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457067#comment-13457067 ] 

Braden Shepherdson commented on CB-1052:
----------------------------------------

I've done some replacement with the standard APIs in the past, so I'm investigating the standards for the tasks our Media API can perform. If they more or less all exist, I'll probably do this replacement (with deprecation of the old one, of course).
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1052) Media API does not adhere to whitelist

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456070#comment-13456070 ] 

Simon MacDonald commented on CB-1052:
-------------------------------------

It does not adhere to the whitelist currently. I'm not convinced that it should which is why I didn't fix this one in my media bug blitz for 2.1. Going forward I think we keep this one on the bench until we can do a review of the Media API as it is in need of an overhaul or outright replacement by a W3C standard API.
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1052) Media API does not adhere to whitelist

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-1052:
---------------------------

    Description: 
You can see this in the mobile-spec test (where it by default tests media using an external source).

Shouldn't it adhere to the whitelist?

Setting to minor priority and not slating for any specific release.

-- Posted from Bugbox for Android

  was:
You can see this in the mobile-spec test (where it by default tests media using an external source).

Shouldn't it adhere to the whitelist?

Setting to minor priority and not slating for any specific release.

       Priority: Critical  (was: Minor)
    
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Joe Bowser
>            Priority: Critical
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1052) Media API does not adhere to whitelist

Posted by "Braden Shepherdson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457081#comment-13457081 ] 

Braden Shepherdson commented on CB-1052:
----------------------------------------

Okay, I've done a bunch of reading. This is a very volatile area. It looks like WebRTC's getUserMedia() is the standard way forward for recording audio. For playing audio, there's the (complex and much more powerful than our Media) Web Audio API, which is actually pretty impressive. It allows filter effects and building a graph of sources, filters and destinations similarly to PulseAudio on Linux. It supports precise realtime mixing and synthesizing, as well.

For our purposes, both APIs are overkill. Polyfilling them fully would be hard, since we're a long way from eg. writing full mixer support on our various platforms. A more basic polyfill would be filled with caveats, as many parts of the standard API would be unsupported.

I think the best approach here would be to leave our Media API in place for now, and eventually port it to use the standard API under the hood on platforms that support it (currently none to my knowledge).

That doesn't address the whitelist question, of course.
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CB-1052) Media API does not adhere to whitelist

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser reassigned CB-1052:
------------------------------

    Assignee: Lorin Beer  (was: Joe Bowser)
    
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Lorin Beer
>            Priority: Critical
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-1052) Media API does not adhere to whitelist

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460871#comment-13460871 ] 

Simon MacDonald commented on CB-1052:
-------------------------------------

Cool with me.
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1052) Media API does not adhere to whitelist

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460812#comment-13460812 ] 

Joe Bowser commented on CB-1052:
--------------------------------

Is it cool if I mark this as "Won't Fix?", since we're going to redo this later anyway?
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-1052) Media API does not adhere to whitelist

Posted by "Braden Shepherdson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Braden Shepherdson resolved CB-1052.
------------------------------------

    Resolution: Won't Fix

Resolving as Won't Fix since there were no objections raised.

It's not clear that the whitelist should apply to Media, and we'll be redoing our approach to media once the standards for it are more stable.
                
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CB-1052) Media API does not adhere to whitelist

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon MacDonald reassigned CB-1052:
-----------------------------------

    Assignee: Simon MacDonald  (was: Lorin Beer)
    
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-1052) Media API does not adhere to whitelist

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-1052:
---------------------------

    Fix Version/s: 2.1.0
    
> Media API does not adhere to whitelist
> --------------------------------------
>
>                 Key: CB-1052
>                 URL: https://issues.apache.org/jira/browse/CB-1052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Lorin Beer
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> You can see this in the mobile-spec test (where it by default tests media using an external source).
> Shouldn't it adhere to the whitelist?
> Setting to minor priority and not slating for any specific release.
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira