when full-screen casting via Chromebook, audio plays on both Chromebook and device being cast to
Reported by
chriswil...@gmail.com,
Sep 2 2017
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; CrOS x86_64 9592.85.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.112 Safari/537.36 Platform: 9592.85.0 (Official Build) stable-channel samus Example URL: Steps to reproduce the problem: 1. Start to play a video on Amazon Prime video 2. Cast the screen via the 'Cast Devices Available' menu option 3. observe that the audio comes out of the Chromebook and the device being cast to What is the expected behavior? The audio should only come out of the device being cast to. What went wrong? The audio came out of the Chromebook, as well. Did this work before? No Is it a problem with Flash or HTML5? N/A Does this work in other browsers? N/A Chrome version: 60.0.3112.112 Channel: n/a OS Version: 9592.85.0 Flash Version: 26.0.0.151 /opt/google/chrome/pepper/libpepflashplayer.so Contents of chrome://gpu: related but not identical issue, I think: https://bugs.chromium.org/p/chromium/issues/detail?id=468639
,
Sep 5 2017
How do I file feedback? Also, I don't think this is a bug that is hard to reproduce. I think this is the behavior you'll find on lots of (or all) Chromebooks...but I can still file feedback if you need it.
,
Sep 5 2017
+Jimmy, who recently looked at similar problem You can use alt+shift+i to file feedback. Please include issue number 761631 in the feedback comment so we can identify it.
,
Sep 5 2017
Re #2: we really need a feedback report. Sometimes we cannot reproduce the issues reported. Also, there are too many bugs filed and we need to triage the bugs that have the logs first.
,
Sep 5 2017
Thank you for reporting the issue. I can reproduce this on 9592.85.0 and the latest canary.
,
Sep 5 2017
https://cs.chromium.org/chromium/src/content/browser/renderer_host/media/audio_input_renderer_host.cc?type=cs&q=AudioDeviceDescription::kLoopbackWithMuteDeviceId&sq=package:chromium&l=367 It seems that this is working as intended according to the code: // For MEDIA_DESKTOP_AUDIO_CAPTURE, the source is selected from picker // window, we do not mute the source audio. It means, casting to desktop does not mute local audio. The related CL and issue: https://codereview.chromium.org/2291893002 https://bugs.chromium.org/p/chromium/issues/detail?id=647801 Hi Qiang, please close this issue if you think this is intended. Thanks! For use case where user does not want internal speaker to play sound while casting desktop, mute button is a easy workaround.
,
Sep 5 2017
I won't be filing a feedback report since this issue has been verified. However, I would like to say that ideally the desired product behavior will be re-evaluated: I imagine that most use cases when casting would be better served without having the audio come out of both devices. You could also add an option for users to choose the behavior, defaulting to having audio only come out of the device being casted to.
,
Sep 5 2017
It looks like the behavior is dependent on which API is used and not on which use case is in effect. The related ticket (https://bugs.chromium.org/p/chromium/issues/detail?id=647801) explicitly mentions that, when casting a tab/screen, the user likely wants the source audio muted. So this ticket I'm writing in right now is about making sure this actually happens.
,
Sep 8 2017
The intended behavior for casting desktop is to mute local audio playback and that was the previous behavior when we shipped Media Router. We haven't changed the constraints we pass to getUserMedia for some time, so this could be some change in constraints handling. I'll check Windows behavior.
,
Sep 8 2017
When using API chooseDesktopMedia and let the user choose something (a screen, or a chrome tab) to share, we do not mute the source audio playback. As we design this API for webrtc use.
When using API tabCapture or getUserMedia({video: {source:"screen"}, audio: {source: "system"}}), we mute the source audio playback. As we design this API for cast use.
Can you clarify which API do you use in your code?
,
Sep 8 2017
Reproduced for me as well on Chrome 61.0.3163.79 for Windows.
We use the getUserMedia API (there's only one API underneath it all). Here are the constraints we are passing. We haven't changed this code in quite some time. Should this use "system" instead of "desktop" for audio chromeMediaSource?
{"audio":{"mandatory":{"chromeMediaSource":"desktop","chromeMediaSourceId":"tu0hZFsl0tMJckmsr4Kd9Q=="}},"video":{"mandatory":{"chromeMediaSource":"desktop","chromeMediaSourceId":"tu0hZFsl0tMJckmsr4Kd9Q==","minWidth":320,"minHeight":180,"maxWidth":1920,"maxHeight":1080,"minFrameRate":0,"maxFrameRate":30}}}
,
Sep 27 2017
We've changed the constraints passed to gUM and that seems to have addressed the problem. The fix was merged back to M61 and M62. Please reopen if you see this happen again. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by wuchengli@chromium.org
, Sep 5 2017Components: -Internals>Media OS>Kernel>Audio Internals>Media>Audio