How to get WebRTC working in Firefox 27.0.1 on Ubuntu 13.10?
Hi! I am using Firefox 27.0.1 on Ubuntu 13.10, and I am trying to use websites that access my webcam and/or microphone with WebRTC. When using Firefox to visit these sites there is never a prompt for access, and it simply does not seem to work.
When trying out the Firefox demo: http://mozilla.github.io/webrtc-landing/gum_test.html nothing happens or displayed. There would normally be a request to access my camera, but there was not. Trying out AppRTC yields the same results: https://apprtc.appspot.com/?r=38739600
I have tested these both on Chromium, and it works as expected. I have not fiddled with my Firefox settings or config. I am simply using the most up-to-date version from the Ubuntu repositories.
It anyone has any insight in how to get WebRTC working, I would greatly appreciate it.
Thank you!
Всички отговори (7)
I think it may be the about:config settings mentioned here: http://webrtchacks.com/how-to-figure-out-webrtc-camera-reso... specifically the media
If a device was not found error exists in the Web Console on those two tests Bug 846951 - [Linux getUserMedia - Requesting camera access with no camera support - no error callback fired (edit) ] and Bug 846974 - [Linux Only Request access to an integrated camera, then request access to a USB camera - old camera bits are seen from the integrated camera for a second (edit) ] but try those configs first.
Those settings on my Firefox were as described in the post. I adjusted the default resolution to that of my webcam to see if that had any affect. No dice.
There are no errors in the Web Console when trying WebRTC demos.
[accidently submitted the reply twice, sorry]
Променено на
Do these media prefs have the default value on the about:config page?
- media.navigator.enabled
- media.peerconnection.enabled
- media.navigator.permission.disabled
cor-el, those are all the default values in about:config.
I updated Firefox to 28.0, and it now asks for access to my devices when visiting WebRTC demos. However, my webcam is simply a green screen without the actual video.
I guess the solution is to just upgrade Firefox, as the green screen seems to be another issue?
You can try to disable hardware acceleration in Firefox (you need to close and restart Firefox).
- Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
Disabling hardware acceleration had not effect on the all green video feed. Thank you for the support and suggestion.