We now have two camera APIs exposed to third-party apps in b2g - navigator.mozCamera and navigator.getUserMedia (which use the ‘camera’ and ‘video-capture’ permissions, respectively). Previously camera was certified only, and getUserMedia was prompt upon each use (i.e. no remembered choice, and not shown in settings app). This is changing though - mozCamera is already available to privileged apps (bug 982777), and bug 938467 is to introduce a way to remember prompts in getUserMedia.
Both APIs have a similar prompt, and would likely have a similar name in the settings app, possibly leading to confusion for the user. So I think we should aim to have a single camera prompt and single camera permission in the settings app. But I am not what the long term plan is for mozCamera, or what the best approach to achieve this unified UI. Do we plan to expose mozCamera to regular web apps and web content, and perhaps could we therefore eventually just use the same permission)? Or do we need want to remain having separate permissions, and unify the prompt and the permission in the settings app somehow? Or something else? Thoughts? -Paul _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
