You are not logged in.

#1 2016-10-03 10:53:18

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

[WORKAROUND] firefox-nightly 52 requires pulseaudio, webrtc test fails

Yesterday i installed firefox-nightly, and i found that it dropped support for libalsa, so you're expected to run pulseaudio server.
Since i'm using alsa, i managed to get pulseaudio running without grabbing the audio device by making it uses dmix and dsnoop "devices".
With that configuration, mpv is able to play via alsa and pulseaudio at the same time, and the command:

parec|aplay  -f cd

...works as expected echoing the micrphone input.

So it appears that my setup is able to record and play streams with pulseaudio.
Still, i'm unable to use firefox with webrtc; if i go to https://test.webrtc.org/ , i've a message that says:
"Failed to access your computer's camera and microphone (NotFoundError: The object can not be found here.)."
Other webrtc sites fail as well.
I tried with firefox-nightly and stable.

Anybody knows what's happening?


-EDIT-
Even manually granting the page the permissions to access the microphone doesn't solve the issue.
and starting firefox with the following environment variables:

NSPR_LOG_MODULES=MediaManager:5,GetUserMedia:5

...prints a lot of the following in the terminal:

[Unnamed thread 0x7f6170ebc040]: D/GetUserMedia  VoEHardware:GetRecordingDeviceName: Failed 1

chromium works with that configuration AND is using pulseaudio

If anybody is interested, there is an ongoing bug report here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1307089

The suggested workaround, by now, is to set:

Andreas Pehrson wrote:

"media.navigator.audio.full_duplex" to false? Restart might be required.

Last edited by kokoko3k (2016-10-12 11:50:53)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB