chrome.tabCapture and desktopCapture with tab selected doesn't capture audio
Reported by
roeyco...@gmail.com,
Jun 15 2017
|
||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36
Steps to reproduce the problem:
1. run this code and choose tab with audio:
chrome.desktopCapture.chooseDesktopMedia(["screen", "window", "tab", "audio"], null, function(stream_id) {
navigator.getUserMedia({
audio: {
mandatory: {
chromeMediaSource: "desktop"
}
},
video: {
mandatory: {
chromeMediaSource: "desktop",
chromeMediaSourceId: stream_id
}
}
}, function(e) {
console.log('ok');
}, function(e) {
console.error("getUserMedia", e)
})
});
What is the expected behavior?
the output stream should contain audio
What went wrong?
it doesn't.
replacing audio media source from "desktop" to "system" add the audio to the stream but then the is muted on the local pc.
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 59.0.3071.86 Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 26.0 r0
replacing chrome.desktopCapture.chooseDesktopMedia with chrome.tabCapture acts the same.
although there is a workaround for the chrome.tabCapture API:
https://stackoverflow.com/questions/28186671/audio-of-the-tab-disappear-while-capturing-tab-using-tabcapture-api
i'd like my users to be able to choose between desktop and and tab sharing.
,
Jun 17 2017
hi, chrome.desktopCapture.chooseDesktopMedia is a feature of extensions... https://developer.chrome.com/extensions/desktopCapture#method-chooseDesktopMedia you should create a small extension, one of the scripts for debugging and enter the code...
,
Jun 17 2017
Thank you for providing more feedback. Adding requester "hdodda@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
,
Jun 19 2017
Could you please provide us a sample extension to test this issue? That would help us in further triaging of the issue. Thanks!!
,
Jun 19 2017
,
Jun 20 2017
hi, as requested a sample extension for recording tab/screen. also attaching to sample files i've recorded with it. please note, that if there are no input devices connected, trying to record the screen with audio will cause a crash (i've opened another ticket about it here: https://bugs.chromium.org/p/chromium/issues/detail?id=733356)
,
Jun 20 2017
Thank you for providing more feedback. Adding requester "sandeepkumars@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
,
Jun 21 2017
roeycohen@ Could you please confirm is this issue is similar to bug 733356 ?
,
Jun 21 2017
it's not the same. bug 733356 is about the extension crashing if there's no microphone connected. this issue is about missing audio while trying to capture tab.
,
Jun 21 2017
Thank you for providing more feedback. Adding requester "brajkumar@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
,
Jun 23 2017
Tested this issue using reported version #59.0.3071.86 and latest stable #59.0.3071.109 on Win 10 and was unable to rpeoduce the issue as extension is getting crashed on clicking on it ( issue 733356 ). Testd the issue using older version #58.0.3029.110 on Win 10 also and unable to reprodue the issue. @Reproter: Could you please find the attached screen cast and let us know your observations for further triage. Thanks!!
,
Jun 23 2017
hi, please make sure you have a microphone connected. Otherwise the extension will crash..
,
Jun 23 2017
Thank you for providing more feedback. Adding requester "sandeepkumars@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
,
Jun 28 2017
Tested the issue on windows 10 using chrome stable M59 #59.0.3071.115 and followed below steps : 1. Plugged in the microphone into pc and launched chrome and opened the extension background page and also opened youtibe video playing with sound. 2. Pasted the given code in comment #0 into the console . 3. and started sharing/ capturing the tab with youtube , and was able to hear the sound from PC . Attched screencast for reference. @roeycohen-- Could you please check attached screencast and confirm if we have missed any steps in reproducing the issue . @Could someone from WebShare team please look into this . Thanks!
,
Jul 9 2017
hdodda, the sound should be missing from the created webm file not from your entire machine :)
,
Jul 9 2017
Thank you for providing more feedback. Adding requester "hdodda@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
,
Jul 9
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by hdodda@chromium.org
, Jun 16 2017Labels: Needs-Feedback
43.9 KB
43.9 KB View Download