Bug 1889920

Summary: No sound in video using Firefox
Product: Red Hat Enterprise Linux 6 Reporter: Yves Bellefeuille <yan>
Component: firefoxAssignee: Jan Horak <jhorak>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10CC: pasteur, sezeroz, smooge
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-16 10:45:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yves Bellefeuille 2020-10-20 22:44:07 UTC
Description of problem:

No sound in videos using Firefox.

Version-Release number of selected component (if applicable):

78.3.0-1

Steps to Reproduce:

1. Start Firefox.
2. Watch any video with audio, on Youtube or elsewhere.

Actual results:

No sound heard.

Expected results:

Video's sound is heard.

Additional info:

Confirmed for i686 and x86_64, and for both Flash and HTML 5.

Users report that there's also no voice using Google Voice and Google Hangouts.

See discussion on CentOS's mailing list starting at https://lists.centos.org/pipermail/centos/2020-October/351751.html .

Comment 2 Ozkan Sezer 2020-10-23 17:50:49 UTC
Also see: https://bugs.centos.org/view.php?id=17771

Comment 3 Stephen John Smoogen 2020-10-28 12:29:30 UTC
I have looked at this in a general take. I got a VM installed with EL6 and ran firefox --debug. The errors seem to be

[Child 3570, MediaDecoderStateMachine #1] WARNING: 7fffd72b46d0 OpenCubeb() failed to init cubeb: file /builddir/build/BUILD/firefox-78.3.0/dom/media/AudioStream.cpp, line 331
[Child 3570, MediaDecoderStateMachine #1] WARNING: Decoder=7fffd72cb400 [OnMediaSinkAudioError]: file /builddir/build/BUILD/firefox-78.3.0/dom/media/MediaDecoderStateMachine.cpp, line 3891
[Child 3570, MediaDecoderStateMachine #1] WARNING: Decoder=7fffd72cb400 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builddir/build/BUILD/firefox-78.3.0/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 3570, MediaDecoderStateMachine #1] WARNING: 7fffd72b4fc0 OpenCubeb() failed to init cubeb: file /builddir/build/BUILD/firefox-78.3.0/dom/media/AudioStream.cpp, line 331
[Child 3570, MediaDecoderStateMachine #1] WARNING: Decoder=7fffd6edd400 [OnMediaSinkAudioError]: file /builddir/build/BUILD/firefox-78.3.0/dom/media/MediaDecoderStateMachine.cpp, line 3891
[Child 3570, MediaDecoderStateMachine #1] WARNING: Decoder=7fffd6edd400 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builddir/build/BUILD/firefox-78.3.0/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Thread 0x7fffcdcf5700 (LWP 3638) exited]
[Child 3570, MediaDecoderStateMachine #1] WARNING: 7fffd72b5160 OpenCubeb() failed to init cubeb: file /builddir/build/BUILD/firefox-78.3.0/dom/media/AudioStream.cpp, line 331
[Child 3570, MediaDecoderStateMachine #1] WARNING: Decoder=7fffd6edd400 [OnMediaSinkAudioError]: file /builddir/build/BUILD/firefox-78.3.0/dom/media/MediaDecoderStateMachine.cpp, line 3891
[Child 3570, MediaDecoderStateMachine #1] WARNING: Decoder=7fffd6edd400 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /builddir/build/BUILD/firefox-78.3.0/dom/media/MediaDecoderStateMachine.cpp, line 3470

when I try to play sounds from https://hpr.dogphilosophy.net/test/. Looking through the cpp code it looks like it is trying to initialize a pulseaudio stream and expects a much newer version of pulse than is shipped in RHEL-6. The differences in code between 68 and 78 in the cubeb module are very large and I am not sure I could debug this any further without a lot of study. Things which it does not seem to be:
1. selinux (having selinux on or off does not change anything)
2. various environment PULSE_* variables being set or unset.
3. Turning on MOZ_DISABLE_CONTENT_SANDBOX (supposedly fixed this for someone in an earlier Firefox)

Comment 4 Jan Horak 2021-04-16 10:45:48 UTC
Sorry, the 6.10 has end of support now. If you're stuck with the 6.10, please downgrade the browser to the 68.12.