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

Issue 2428353005: Tuning WebRTC audio focus type (Closed)

Created:
4 years, 2 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tuning WebRTC audio focus type This CL changes the audio focus type for WebRTC: * On desktop, WebRTC will take persistent audio focus (when default MediaSession is enabled). WebRTC will suspend other tabs when it starts, and will not be interrupted by other media activities. * On Android, WebRTC will not bother MediaSession since the audio focus is already handled for the input stream. The behavior is the same as Desktop (with default MediaSession enabled). BUG=596516 Committed: https://crrev.com/a923571ee803000f4116e0267b0fcdcad5d982e0 Cr-Commit-Position: refs/heads/master@{#426635}

Patch Set 1 #

Patch Set 2 : don't respond to volume change #

Total comments: 2

Patch Set 3 : fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -7 lines) Patch
M content/browser/media/session/media_session.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 2 2 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
Zhiqiang Zhang (Slow)
4 years, 2 months ago (2016-10-20 14:03:05 UTC) #2
Zhiqiang Zhang (Slow)
4 years, 2 months ago (2016-10-20 14:17:29 UTC) #5
mlamouri (slow - plz ping)
lgtm but maybe you could add a note regarding the behaviour we want and why ...
4 years, 2 months ago (2016-10-20 14:20:17 UTC) #6
Zhiqiang Zhang (Slow)
On 2016/10/20 14:20:17, mlamouri wrote: > lgtm but maybe you could add a note regarding ...
4 years, 2 months ago (2016-10-20 14:26:17 UTC) #8
DaleCurtis
Hmm, I don't understand how WebRTC can have different session types if you aren't implementing ...
4 years, 2 months ago (2016-10-20 21:04:41 UTC) #13
Zhiqiang Zhang (Slow)
On 2016/10/20 21:04:41, DaleCurtis wrote: > Hmm, I don't understand how WebRTC can have different ...
4 years, 2 months ago (2016-10-20 21:30:31 UTC) #14
DaleCurtis
Thanks for the explanation. lgtm
4 years, 2 months ago (2016-10-20 21:31:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2428353005/60001
4 years, 2 months ago (2016-10-20 21:39:31 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-10-20 23:06:09 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:24:07 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a923571ee803000f4116e0267b0fcdcad5d982e0
Cr-Commit-Position: refs/heads/master@{#426635}

Powered by Google App Engine
This is Rietveld 408576698