Muted pinned tab is playing audio
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: sfoster, Unassigned)
Details
Nightly, Ubuntu 22.04 using Wayland. I have a pinned tab with https://dnbradio.com/player/stations/1/ loaded which has an audio player on the page. It tends to start itself playing when I open my laptop, despite me having stopped the stream (by clicking the page's pause button.). Today it started playing out of the blue so I clicked mute, and it continued playing.
I got this profile using the media presets on about:logging. The music is playing the whole time. I select the tab and unmute and mute it again - still playing. https://share.firefox.dev/3w9qdW2
Comment 1•1 year ago
•
|
||
The media code is behaving as usual, it would be great to have the same logs, but with "AudioChannel:4" added to the list. Zeroing in on the range can be done by checking for the click event on the mute icon in the parent process.
As a result of muting a tab, e.g. the audio callbacks should stop.
| Reporter | ||
Comment 2•1 year ago
|
||
Here's a new logging profile with AudioChannel:4 added. https://share.firefox.dev/3UvQ17Y
I just right-clicked the pinned tab to unmute and then mute again. The music from that tab was playing the whole time.
Comment 3•1 year ago
|
||
Hmm there was still no audio channel logging in your profiled result, did you add that from about:logging? It should be recorded in the main thread, but I didn't see any. Even the media element logs looks like missing. (not completed).
Could you help me do it again by selecting media playback preset first, then add AudioChannel:5 again? (also make sure that AudioChannel:5 appears on Currently enabled log modules section)
In addition, does muting/unmuting work on other websites? or only fail on dnbradio? would all audio on that website fail, or only certain audio? I couldn't reproduce this on my Windows 11.
Thanks!
| Reporter | ||
Comment 4•1 year ago
|
||
This seems to be tightly coupled to going into and coming out of the sleep/suspend state on Ubuntu. Which might even be hardware specific as that in turn builds on device drivers as I understand it. If that's the case, will the about:logging settings contain clues? I have been able to reproduce with a zoom recording on https://mozilla.hosted.panopto.com/ so I don't think its specific to a particular site. I don't have more logs to share yet - I want to reproduce on a clean(er) profile. I did just try to reproduce in chromium but nothing so far. Leaving my need-info for now.
Comment 5•1 year ago
|
||
It's just a normal bug most probably. If you can reproduce on Linux maybe just get us a pernosco recording.
Updated•1 year ago
|
| Reporter | ||
Comment 6•1 year ago
|
||
I just had this kinda happen again. Not sure if its the same issue or not. I had a tab open again to dnbradio.com, but the audio on there was not playing - I had intentionally stopped it before shutting my laptop. Later I opened my laptop and spent some time browsing. Then my wifi connection dropped, and when it came back up, the dnbradio page automatically started playing - it was not an active tab and I had not interacted with it since stopping the audio stream earlier today. Sorry, no profile recorded.
| Reporter | ||
Comment 7•1 year ago
|
||
This morning, as I opened my laptop my music started playing. Keyboard mute didn't work until I logged in (unlocked) This time it had nothing to do with firefox - I had been listening to it through Rhythmbox, a desktop app. So while there might be a firefox component to this bug, assuming these things are related its at least partly a OS/driver issue.
Description
•