Stefan Monnier
2024-08-14 19:40:01 UTC
I have a machine here running a freshly updated and rebooted Debian
testing where I can't get Firefox (more specifically `firefox-esr`) to
use audio. E.g. I go to
https://tekeye.uk/html/html5-video-test-page
and none of the videos give me any audio output.
I'm using pipewire and it generally works fine with other applications.
E.g. `paplay` successfully plays my music files, and `chromium` on the
same web page gives me audio output just fine.
When I have `pavucontrol` open, I can "see" that Firefox does not appear
in the "Playback" tab, contrary to `paplay` and `chromium`.
When I try `firefox -P` and use a fresh new profile, the same
problem occurs. Also I can see errors in the output such as:
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe182f6a100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe182875800 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797300 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797300 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797c00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181796a00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797c00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181796a00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797f00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797f00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, BackgroundThreadPool #1] WARNING: 7fe1838484c0 OpenCubeb() failed to init cubeb: file ./dom/media/AudioStream.cpp:281
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe17c60cd00 [OnMediaSinkAudioError]: file ./dom/media/MediaDecoderStateMachine.cpp:4604
The last two lines occur when I click on the "unmute" button in the
video (on the above web page) which is muted by default.
Any idea what might be going on and/or how to track it down further?
Stefan
testing where I can't get Firefox (more specifically `firefox-esr`) to
use audio. E.g. I go to
https://tekeye.uk/html/html5-video-test-page
and none of the videos give me any audio output.
I'm using pipewire and it generally works fine with other applications.
E.g. `paplay` successfully plays my music files, and `chromium` on the
same web page gives me audio output just fine.
When I have `pavucontrol` open, I can "see" that Firefox does not appear
in the "Playback" tab, contrary to `paplay` and `chromium`.
When I try `firefox -P` and use a fresh new profile, the same
problem occurs. Also I can see errors in the output such as:
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe182f6a100 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe182875800 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797300 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797300 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797c00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181796a00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797c00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181796a00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797f00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe181797f00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file ./dom/media/MediaDecoderStateMachineBase.cpp:164
[Child 13905, BackgroundThreadPool #1] WARNING: 7fe1838484c0 OpenCubeb() failed to init cubeb: file ./dom/media/AudioStream.cpp:281
[Child 13905, MediaDecoderStateMachine #1] WARNING: Decoder=7fe17c60cd00 [OnMediaSinkAudioError]: file ./dom/media/MediaDecoderStateMachine.cpp:4604
The last two lines occur when I click on the "unmute" button in the
video (on the above web page) which is muted by default.
Any idea what might be going on and/or how to track it down further?
Stefan