New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 842661 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Stopping microphone audiotrack also stop other tabs'/windows' microphone audio

Reported by fredj...@gmail.com, May 14 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36

Steps to reproduce the problem:
1. Open attached index.html file in two different tabs in Chrome, and open the developer tools, console log to see log prints.
2. Click "Start mic" in one tab.
3. Click "Start mic" in other tab.
4. Click "Stop mic" in one of the tabs.
After about 15 seconds, the audio will end in the other tab. The audio track will receive an ended event.

What is the expected behavior?
The audio should not end in the tab where no user has clicked to end the audio.

What went wrong?
After about 15 seconds, the audio will end in the other tab. The audio track will receive an ended event.

Did this work before? Yes 65

Chrome version: 66.0.3359.170  Channel: stable
OS Version: OS X 10.12.6
Flash Version:
 
index.html
1.3 KB View Download
Screen Shot Mic Audio.png
146 KB View Download
Labels: Needs-Bisect Needs-Triage-M66
Cc: susan.boorgula@chromium.org
Labels: Triaged-ET Needs-Feedback
fredjoha@ Thanks for the issue.

Tested this issue on Mac OS 10.12.6 and Windows 10 on the reported version 66.0.3359.170 and the latest Canary 68.0.3430.0 and unable to reproduce the issue by following the steps given above.

After clicking 'Stop Mic' on the first tab, cannot observe any audio end event on the second tab after 15 seconds.
Waited for a longer time and still cannot observe any audio end event on the second tab.
Attached is the screen cast of the steps followed.

Request you to retry the issue on a new chrome profile without any flags/extensions and update the thread with the observations.

Thanks..
842661.mp4
1.4 MB View Download

Comment 3 by fredj...@gmail.com, May 15 2018

Thank you for testing it. I have also asked other people to test this, and it seems like I am the only one getting this result. I retried it in incognito mode, which should disable all extension. However, the result is the same - the audio track in the other window or tab ends after about 15 seconds. Attaching screen cast of what I see.

I do realise this issue is difficult to do anything about if it is only one person getting the weird behaviour.
audio-issue.mp4
491 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, May 15 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by fredj...@gmail.com, May 15 2018

Regarding the 15 seconds delay - it seems like the audio disappears directly, but the audio track ended event comes after about 15 second. Like a timeout waiting for audio. There's no proof of that in the code I attached, but it's something I observed in the real web app I'm working on.
Components: Blink>Media>Audio Blink>GetUserMedia>Mic
Labels: -Needs-Bisect
fredjoha@ Thanks for the update.

Retried the issue again on Mac OS 10.12.6 on the latest Stable 66.0.3359.181 and Canary 68.0.3430.0 and unable to reproduce the issue.
As per comment #3, as the issue is observed only for the reporter, removing Needs-Bisect label as this issue is not reproducible at our end.

Tentatively adding Blink>GetUserMedia>Mic and Blink>Media>Audio components and requesting someone from the team to look into the issue and help in further triaging.

Thanks..

Comment 7 by kojii@chromium.org, May 17 2018

Components: -Blink
Cc: olka@chromium.org
Owner: guidou@chromium.org
Status: Assigned (was: Unconfirmed)
guidou@: does not seem to reproduce but could you try as well just in case.
Could not reproduce on latest Win10 Canary (68.0.3434.0 (Official Build) canary (64-bit))

Second tab is not affected by actions in first tab. State below is stable:

Stream created {
  "id": "EJxAZnDOJmlCNFZi8PFiaN0SHcFMKZuRypme",
  "active": true,
  "track": {
    "id": "97aa42a1-1017-43b0-bb97-11c5cb244964",
    "readystate": "live"
  }
}
fredjoha@, please try in latest Canary as well.

Comment 11 by olka@chromium.org, May 18 2018

Cc: maxmorin@chromium.org
I cannot reproduce on Linux beta or ToT. Cannot reproduce on Mac canary or 66.0.3359.170.
Will wait for fredjoha@'s report on the latest Canary before closing.
Labels: Needs-Feedback

Comment 14 by fredj...@gmail.com, May 18 2018

I could not reproduce on Version 68.0.3434.0 (Official Build) canary (64-bit). I still don't understand why this happens on my chrome 66, but I can't argue that this issue should still be open. Thanks for your testing!

Status: WontFix (was: Assigned)
Closing as per #14.

Sign in to add a comment