Audio stream remains open when playback paused, preventing power saving/sleep
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: u510688, Unassigned)
References
Details
Comment 3•10 years ago
|
||
Updated•10 years ago
|
Updated•10 years ago
|
Comment 5•10 years ago
|
||
Updated•10 years ago
|
Comment 7•5 years ago
|
||
Hi folks,
Sorry to resurrect an old bug. I've noticed this happening very frequently. I had originally reported it here: https://support.mozilla.org/en-US/questions/1288624 and was directed to this bug.
When running Firefox, I've noticed the following issue that's preventing my computer from going to sleep.
When running Outlook web (email client), if an audio alert occurs, there seems to be a constant audio stream occurring which is then preventing the computer from sleeping. I am able to reproduce this 100% of the time. There is no speaker icon showing on the tab to indicate there is audio playing. This does not occur in Chrome.
To reproduce:
- Open an Outlook for web client in Firefox
- Receive an audio alert (e.g. new email/meeting alert etc)
- In an elevated command prompt, perform a
powercfg /requests
I am seeing the following:
DISPLAY:
None.
SYSTEM:
[DRIVER] Realtek High Definition Audio (HDAUDIO\FUNC_01&VEN_10EC&DEV_0255&SUBSYS_10251259&REV_1000\5&26841d0a&0&00)
An audio stream is currently in use.
[PROCESS] \Device\HarddiskVolume9\Program Files (x86)\Mozilla Firefox\firefox.exe
[PROCESS] \Device\HarddiskVolume9\Program Files (x86)\Mozilla Firefox\firefox.exe
[PROCESS] \Device\HarddiskVolume9\Program Files (x86)\Mozilla Firefox\firefox.exe
[PROCESS] \Device\HarddiskVolume9\Program Files (x86)\Mozilla Firefox\firefox.exe
[PROCESS] \Device\HarddiskVolume9\Program Files (x86)\Mozilla Firefox\firefox.exe
[PROCESS] \Device\HarddiskVolume9\Program Files (x86)\Mozilla Firefox\firefox.exe
[PROCESS] \Device\HarddiskVolume9\Program Files (x86)\Mozilla Firefox\firefox.exe
AWAYMODE:
None.
EXECUTION:
None.
PERFBOOST:
None.
ACTIVELOCKSCREEN:
None.
Firefox version: 76.0.1 (32-bit)
Let me know if you need any further info.
Hallo,
same issue as what the_new_mr mentioned.
As soon as I receive an e-mail in outlook, an audio stream is reported in powercfg /requests indefinitely.
Closing outlook's tab seems to stop the audio stream.
This is on Firefox 79.0 (64-bit) on Windows 10
Comment 9•4 years ago
|
||
Sounds like the same as 1638685, but in a different platform.
Comment 10•4 years ago
|
||
Hi folks,
This is on Firefox 95.0.1 (64-bit) on Windows 10
Every time when Firefox starts (1 tab-home page, google search page) it opens the audio stream and prevents the computer from going to automatic sleep mode.
When I perform a "powercfg /requests" in an elevated command prompt I am seeing the following:
C:\Windows\system32>powercfg -requests
DISPLAY:
None.
SYSTEM:
[DRIVER] AMD High Definition Audio Device (HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&35a39078&0&0001)
An audio stream is currently in use.
AWAYMODE:
None.
EXECUTION:
None.
PERFBOOST:
None.
ACTIVELOCKSCREEN:
None.
C:\Windows\system32>
As someone has already said,
Actual results:
The audio device remains in use even though no audio is being played. This prevents the computer from going to sleep.
Expected results:
The audio device should be released when audio is not being played.
Thanks,
Sinisa
Comment 11•4 years ago
|
||
(In reply to Siki from comment #10)
Hi folks,
This is on Firefox 95.0.1 (64-bit) on Windows 10
Every time when Firefox starts (1 tab-home page, google search page) it opens the audio stream and prevents the computer from going to automatic sleep mode.
When I perform a "powercfg /requests" in an elevated command prompt I am seeing the following:C:\Windows\system32>powercfg -requests
DISPLAY:
None.SYSTEM:
[DRIVER] AMD High Definition Audio Device (HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1003\5&35a39078&0&0001)
An audio stream is currently in use.AWAYMODE:
None.EXECUTION:
None.PERFBOOST:
None.ACTIVELOCKSCREEN:
None.C:\Windows\system32>
As someone has already said,
Actual results:
The audio device remains in use even though no audio is being played. This prevents the computer from going to sleep.Expected results:
The audio device should be released when audio is not being played.Thanks,
Sinisa
Comment 12•4 years ago
|
||
The same thing happens on Linux/Pulseaudio. It also prevents headphones from going into power saving mode, since a silent stream is continuously open.
Updated•4 years ago
|
Comment 13•4 years ago
|
||
(In reply to Hugo Osvaldo Barrera from comment #12)
The same thing happens on Linux/Pulseaudio. It also prevents headphones from going into power saving mode, since a silent stream is continuously open.
That will be fixed by bug 1743834. Also this issue (audio stream still exists even if the playback is paused) no longer exists, so I will close this bug. For muting/inaudible playback causes an alive audio back-end stream, that issue would be handled in bug 1743834.
Comment 14•3 years ago
|
||
Okay, I was excitedly waiting for the release of Firefox 102. I can confirm that the audio stream is closed when the audio is muted (bug 1743834). However, it is still the case that when the playback is paused the audio stream is kept open. I tested this with HTML5 audio (mp3) playback, with HTML5 video (mp4) playback as well as on YouTube. In all three cases the audio stream is kept open indefinitely even though the playback is paused.
Environment: Linux, Wayland (Sway), Firefox 102.
Comment 15•3 years ago
|
||
Just now also tested with Firefox Nightly 104.0a1 (2022-06-29) and it's the same there, paused audio/video does not close the stream. Using Pipewire with pipewire-media-session and pipewire-pulse. Pavucontrol clearly shows the stream which disappears
- when the tab is muted while playing
- when the video is muted while playing or paused
Description
•