Hi,

I'm working on an open web application. I need to access the user's microphone, 
so in my Javascript code, I use getUserMedia() or mozGetUserMedia(), I'm not 
sure which one is used by the browser.
I'm using this(found in Mozilla's doc):
navigator.getMedia = ( navigator.getUserMedia ||
                       navigator.webkitGetUserMedia ||
                       navigator.mozGetUserMedia ||
                       navigator.msGetUserMedia);

My main target is FirefoxOS, and everything is going well so far on this 
platform. I can get the stream and route it to wherever I want, using the 
WebAudio API. On Chromium desktop browser, it's working fine also.

The problem is, when I try to run the app on Firefox(the actual desktop browser 
version 27). Firefox doesn't even ask permission to the user for accessing the 
microphone. I'm guessing it's denying by default. I know my code is ok, because 
it works on firefoxOS.

Also "media.navigator.enabled" is set to "true" in about:config.

Is there any other setup I need to check in Firefox?

Thank you
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to