Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(958)

Issue 2060963002: Unmute Tab Audio For Desktop Share By Default (Closed)

Created:
4 years, 6 months ago by qiangchen
Modified:
4 years, 6 months ago
Reviewers:
DaleCurtis, miu
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unmute Tab Audio For Desktop Share By Default We did an enhancement to support audio for desktop share. However, using the existing framework, we found a deficiency: During the tab sharing with audio, on the sender side, we cannot hear the sound. The main reason is that we divert the audio stream to WebContentsAudioInputStream, and no longer serve the speaker. In previous CL, we make the code path capable of duplicating audio data. In this CL, we make the duplication to be the default behavior for audio type MEDIA_DESKTOP_AUDIO_CAPTURE. BUG=595428 Committed: https://crrev.com/4534e544153d04f43759bcdba32a03fb7cb45c92 Cr-Commit-Position: refs/heads/master@{#401054}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove old TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -12 lines) Patch
M content/browser/media/capture/web_contents_audio_input_stream.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/media/capture/web_contents_audio_input_stream.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 1 1 chunk +10 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
qiangchen
The CL make the audio duplication work for tab typed desktop capture.
4 years, 6 months ago (2016-06-13 17:54:12 UTC) #6
DaleCurtis
lgtm mechanically, but defer to miu@ for functionality.
4 years, 6 months ago (2016-06-13 20:41:08 UTC) #7
miu
lgtm, but one thing to address before committing: https://codereview.chromium.org/2060963002/diff/20001/content/browser/media/capture/web_contents_audio_input_stream.cc File content/browser/media/capture/web_contents_audio_input_stream.cc (right): https://codereview.chromium.org/2060963002/diff/20001/content/browser/media/capture/web_contents_audio_input_stream.cc#newcode361 content/browser/media/capture/web_contents_audio_input_stream.cc:361: // ...
4 years, 6 months ago (2016-06-20 20:42:00 UTC) #8
qiangchen
https://codereview.chromium.org/2060963002/diff/20001/content/browser/media/capture/web_contents_audio_input_stream.cc File content/browser/media/capture/web_contents_audio_input_stream.cc (right): https://codereview.chromium.org/2060963002/diff/20001/content/browser/media/capture/web_contents_audio_input_stream.cc#newcode361 content/browser/media/capture/web_contents_audio_input_stream.cc:361: // TODO(qiangchen): Plug in true for the case of ...
4 years, 6 months ago (2016-06-21 16:12:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2060963002/40001
4 years, 6 months ago (2016-06-21 18:32:21 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 6 months ago (2016-06-21 18:45:37 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 18:50:08 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4534e544153d04f43759bcdba32a03fb7cb45c92
Cr-Commit-Position: refs/heads/master@{#401054}

Powered by Google App Engine
This is Rietveld 408576698