On Sat, Jun 14, 2014 at 3:27 AM, gladoscc <[email protected]> wrote: > With https://bugzilla.mozilla.org/show_bug.cgi?id=1000253, background tabs > can no longer get access to usermedia, even when the user has persistently > allowed. It's not possible for an app to get access in the background, unless > they preemptively request and hold it which is quite undesirable (webcam > light always on for webcam access). > > Practical use cases that this breaks: > > * Automatic call answering for VOIP apps (really important for some specific > use cases) > > * Using another gadget to remotely answer a call > > * Clever uses of sound communication - eg Bips.me uses local sound playback & > listening to verify device is present to point of sale system
These cases sound very specific. Would the user be willing to install an add-on to support these applications? Nothing in the patch landed in bug 1000253 prevents add-ons from granting device access for background tabs. > * Previously desktop apps that can be done as a cross platform > webapp/extension (eg: device anti-theft tracker, location can already be > accessed) I'm not sure I understand this case. If an extension was already required, then there's no change. Add-ons can still do whatever they want with the devices. > The bug seems to stem around that there is no indication that a background > tab is accessing usermedia if the user is already using usermedia in a > foreground tab. > > I think the solution shouldn't be to block background accesses altogether, > but rather provide indication. Nobody involved the bug thinks the implemented solution is ideal. It's just much better than not letting the "Always allow" feature ride the trains and reach Firefox release. Florian -- Florian Quèze _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

