We are using media.navigator.streams.fake to test our application in the CI Pipeline on Ubuntu docker nodes. After updating of Firefox from version 101 to 102, the fake stream is not working as expected anymore.
We pass video stream etc. but fail on microphone check. The exception in console output is:
[Child 1275, MediaDecoderStateMachine #1] 7f7a5947d280 OpenCubeb() failed to init cubeb: file /builds/worker/checkouts/gecko/dom/media/AudioStream.cpp:281
[Child 1275, MediaDecoderStateMachine #1] Decoder=7f7a4cfaa700 [OnMediaSinkAudioError]: file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachine.cpp:3979
[Child 1275, MediaDecoderStateMachine #1] Decoder=7f7a4cfaa700 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudi
I think it depends on the Firefox 102 change
"Improved security by moving audio decoding into a separate process with stricter sandboxing, thus improving process isolation." https://www.mozilla.org/en-US/firefox/102.0/releasenotes/
We added the pulseaudio package to the docker image, but still the same behavior. Any idea how to handle this problem within my docker machines?