I hear clicks when skipping video in muted tabs
Categories
(Core :: Audio/Video: cubeb, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | affected |
People
(Reporter: giul.mus, Unassigned)
References
Details
Attachments
(1 file)
1.99 MB,
application/zip
|
Details |
If I:
- play audio from an external application (eg. Spotify);
- play a YouTube video;
- mute the tab; and
- while the video is playing, skip a few seconds (eg. using the arrows),
I hear clicks at the moment I skip the video. This also happens if the video is muted via the YouTube player in an unmuted tab.
I confirmed this by opening Firefox and pavucontrol
side by side: at the moment I skip, the Firefox entry disappears briefly and then is re-created.
If there are no other applications playing audio, I do not hear clicks, but the pulseaudio entry still disappears and reappears; if the video is NOT playing (i.e. paused) when I skip, I neither hear clicks nor see the pulseaudio entry disappearing.
I'm using Firefox Nightly on Arch Linux.
Comment 1•4 years ago
|
||
Firefox entry disappears briefly and then is re-created.
This is expected behavior, because every time when seeking happens, Firefox would destroy current audio backend stream and recreate a new one after seeking finishes.
What version of Firefox you're using? Does this issue also happen on a new profile or on a priviate browsing window? Does this issue only happen on Youtube? Or it would happen on all websites which play video?
In addition, would you mind to help me gather the log and dump recording audio by doing following steps?
- Open a terminal window
- cd ~/Desktop; MOZ_DUMP_AUDIO=1 MOZ_DISABLE_CONTENT_SANDBOX=1 MOZ_LOG=cubeb:5 MOZ_LOG_FILES=firefox-logs /usr/bin/firefox
- Reproduce the bug
- Gather all the files named firefox-logs.* and AudioStream* GraphDriverInput* GraphDriverOutput* that are on the desktop, the * denoting a numerical suffix in a zip, and attach them to the bug. The content of those files are explained in this other document.
Thank you so much.
Done - I created a fresh Firefox profile, played a few seconds of audio from a YouTube video, muted the tab, then skipped several times, while another app was also playing audio. I couldn't get Firefox to generate GraphDriverInput* and GraphDriverOutput* even after setting the sandbox level to 0.
I'm using Firefox Nightly (the build from 2022-01-01 at the time I created the zip), and the bug also occurs on other sites (I was able to reproduce it on DailyMotion).
Comment 3•4 years ago
|
||
This seems like a cubeb issue.
Comment 4•3 years ago
|
||
The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.
Comment 5•3 years ago
|
||
This will be fixed by bug 1743834. No audio stream will be opened when muted with those patches.
Description
•