You was right. It worked. getUserMedia:request called when I call mozGetUserMedia from an iframe (https) The new problem is: I can't pass back the stream to the main window. It is only avaliable in the iframe.
Üdvözlettel: Sándor Balázs Szoftver fejlesztő Virtual Call Center MUNICH <http://virtual-call-center-software.de/> | BUDAPEST <http://virtual-call-center-software.hu/> | WARSAW <http://virtual-call-center-software.pl/> Telefon: +36 1 999 7400 Web: www.virtual-call-center.hu <https://www.linkedin.com/profile/view?id=215233036> 2014-11-04 13:20 GMT+01:00 Sándor Balázs < balazs.san...@virtual-call-center.hu>: > You are right. > I call getUserMedia from chrome:// code. > I will try from https. > > Thanks > > Üdvözlettel: > > Sándor Balázs > > Szoftver fejlesztő > > > > Virtual Call Center > > MUNICH <http://virtual-call-center-software.de/> | BUDAPEST > <http://virtual-call-center-software.hu/> | WARSAW > <http://virtual-call-center-software.pl/> > > Telefon: +36 1 999 7400 > > Web: www.virtual-call-center.hu > > > <https://www.linkedin.com/profile/view?id=215233036> > > 2014-11-04 11:30 GMT+01:00 Florian Quèze <flor...@mozilla.com>: > >> 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