On Tue, Nov 4, 2014 at 10:47 AM, Balázs Sándor <balazs.san...@virtual-call-center.eu> wrote: > Hi all!
Hi, > I added an observer for "getUserMedia:request" but it never called. I'm guessing your xulrunner application calls getUserMedia from chrome:// code. If so, your observer is never called because the code at http://mxr.mozilla.org/mozilla-central/source/dom/media/MediaManager.cpp#1730 skips the request notification and just grants access immediately to the default devices for gUM calls from privileged code. Assuming your want to make your application work with currently released versions of xulrunner, I would look for ways to load unprivileged code in your application (not completely sure how to do that). If you can build xulrunner yourself from newer code, you could maybe submit a patch to change the current media.navigator.permission.fake preference to something that would also apply to privileged code. Florian -- Florian Quèze _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform