New issue
Advanced search Search tips

Issue 661435 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 617086
Owner: ----
Closed: Nov 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Chrome fails to release audio streaming driver

Reported by sbarn...@gmail.com, Nov 2 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Go to a website that streams audio/video. Stay on the site for a period of time
2. Close the tab containing the streaming. Only keep one empty tab open.
3. Run the command 'powercfg/requests'. You'll notice that Windows indicates that a stream is in use. However, no audio stream is active. Chrome is the only program running.
4. Close Chrome. Run 'powercfg/requests' again. You'll notice that the indicator of an audio stream is gone.

What is the expected behavior?
Windows 10 is showing an audio stream in use and this is preventing Windows 10 from going to sleep.  This is normal behavior since you don't want Windows sleeping if your streaming audio. However, I think Chrome is sending Windows the info regarding the audio stream when all I have open is an empty Chrome tab. There is no web site displayed or any audio streaming and Windows still indicates that an audio stream is in use. I have no other programs running. I just have Chrome running. Also, if I close Chrome, Windows no longer displays that audio streaming is in use. The indication of streaming always disappears whenever I close Chrome. Chrome should release the audio driver when a tab containing audio is closed. 

What went wrong?
My computer will not enter sleep mode since Windows thinks Chrome is streaming audio even when an empty tab is open. Closing Chrome releases the driver and allows the computer to sleep.

This problem is happening on a fairly regular basis. I'm unable to give exact instructions on how to recreate the problem. Sometimes I can stream audio, close the tab (with streaming audio), and verify that Windows is not indicating audio streaming. There are other times when I stream audio, close the tab (with streaming audio), and verify that Windows is showing audio streaming when all I have open is an empty tab in Chrome.

picture1: Chrome running one empty tab. Windows is showing that audio is streaming. Windows will not sleep.

picture2: Chrome has been closed completely. Windows is showing that no audio streams are present. Windows will now sleep.

Did this work before? Yes I believe that the problem started in version 53. It worked before 53.

Is it a problem with Flash or HTML5? N/A

Does this work in other browsers? Yes

Chrome version: 54.0.2840.87  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

Please contact me if you need more information or detail in order to fix this problem. Thanks.
 
picture1.png
15.3 KB View Download
picture2.png
10.9 KB View Download
Components: Blink>WebMIDI
+midi folk. I think this is a dupe of another issue. Do you see any audio streams in chrome://media-internals?
Labels: TE-NeedsTriageHelp

Comment 3 by sbarn...@gmail.com, Nov 4 2016

I will do some further investigating on my end since I now know about 'chrome://media-internals'. I will post another comment if I can recreate the problem.
Probably, this is a dupe of another issue now I'm working on.
Now some random page calls Web MIDI through third party's ad frames. If you can reproduce your issue by visiting Web MIDI ready page, it should be the same issue.

Can you visit http://yuri.twintail.org/chrome/midi/midi.html, and see if the same problem happens?
FYI,  crbug.com/617086  is the issue  dalecurtis@ said at #1.
If sbarntho agreed, I'd merge this to 617086.
Mergedinto: 617086
Status: Duplicate (was: Unconfirmed)
I'd merge this now. If you feel this is another problem, please leave a comment to reopen this.

Sign in to add a comment