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

Issue 748409 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Feature



Sign in to add a comment

Audio of the tab disappear while capturing tab using TabCapture API

Reported by a.skryka...@gmail.com, Jul 25 2017

Issue description

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

Steps to reproduce the problem:
1. Play audio on the tab
2. Capture tab with audio
3. Audio of the tab disappear while capturing tab using

What is the expected behavior?
I hear a sound while the tab is captured

What went wrong?
Audio of the tab disappear while capturing tab using TabCapture API.
The stream that was played on the tab was stopped

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
mediaRecorderTest.txt
792 bytes View Download
image_2017-07-25_10-36-25.png
53.5 KB View Download
Labels: Needs-Triage-M60 Needs-Bisect
Cc: krajshree@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue in Win 7, Win-10 and MacBook Pro (Retina, 15-inch, Mid 2014), 10.12.5 using chrome reported version #59.0.3071.115 and latest canary #62.0.3167.0.

Following are the steps followed to reproduce the issue.
------------
1. Played audio on the tab by downloading a sample audio file from URL: http://www.sample-videos.com/download-sample-audio.php
2. Captured tab with audio using extension "chrome audio capture" from chrome webstore.
3. Observed that the audio of the tab did not disappear while capturing tab.

Attaching screen cast for reference.

a.skrykalov@ - Could you please check the issue on latest canary #62.0.3167.0 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not.
Also if possible please provide a sample test file or URL to triage the issue from TE end.

Note: Providing the screen cast captured on mac as screencast was not possible to provide on Win-7 or Win-10 with audio sound.

Thanks...!!
748409.mp4
2.3 MB View Download
In extension "chrome audio capture"  sound disappear after

chrome.tabCapture.capture({audio: true}, (stream) => {

and appear after

let audio = new Audio();
audio.srcObject = liveStream;
audio.play();

It does not work for me, because sound should be output to default communication speakers, 
not to default speakers, and setSinkId does not work in the background script
Project Member

Comment 4 by sheriffbot@chromium.org, Jul 26 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
a.skrykalov@ - Could you please provide a sample extension file to test the issue from TE-end.
This will help us in triaging the issue further.

Thanks...!!
Hello. Here the example of extension, on pressing of CTRL+SHIFT+S disappear sound on the tab   
1.0.0.zip
6.6 KB Download
Project Member

Comment 7 by sheriffbot@chromium.org, Jul 28 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: kkaluri@chromium.org
Labels: -Needs-Bisect M-62 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Windows 10, Ubuntu 14.04 and Mac 10.12.6 with chrome stable 60.0.3112.78, Canary 62.0.3170.0 and also in earlier version 45.0.2454.101, this is a non-regression issue, hence marking it as untriaged. 

These are the steps followed :
1. Load the extension provided in comment #6
2. Play a video in www.youtube.com 
3. Press 'CTRL+SHIFT+S'

Observed that audio is stopped after pressing 'CTRL+SHIFT+S' 


748409.mp4
2.0 MB View Download
Components: -Blink>GetUserMedia Blink>GetUserMedia>Tab
Cc: m...@chromium.org
Status: Available (was: Untriaged)

Comment 11 by m...@chromium.org, Feb 1 2018

Labels: -Type-Bug Type-Feature
Status: WontFix (was: Available)
I believe using the following extension API will do what you want (tab capture without muting local auduo): https://developer.chrome.com/extensions/desktopCapture (use the "tab" source in the API call)

Sign in to add a comment