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

Issue 1823983002: Remove secondary player from Media Sessions (Closed)

Created:
4 years, 9 months ago by aberent
Modified:
4 years, 9 months ago
Reviewers:
whywhat, qinmin, DaleCurtis
CC:
avayvod+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mlamouri+watch-media_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove secondary player from Media Sessions When we switch Android media players, for cast, we no longer want audio focus changes associated with old player to take effect. To handle this remove the old player from the Media Sessions. The new player is responsible for adding itself to the Media Sessions if it needs to. The remote player doesn't need to, and, after stopping casting the local player will do so when the user presses play. BUG=595373 Committed: https://crrev.com/4bee90cc8b21594a3fc5c4055887886aa2009865 Cr-Commit-Position: refs/heads/master@{#382613}

Patch Set 1 #

Patch Set 2 : Fix accidental formatting changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M content/browser/media/android/browser_media_player_manager.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/media/android/media_web_contents_observer_android.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/media/android/media_web_contents_observer_android.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
aberent
4 years, 9 months ago (2016-03-22 11:22:22 UTC) #2
whywhat
non-owner lgtm
4 years, 9 months ago (2016-03-22 11:55:58 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1823983002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1823983002/20001
4 years, 9 months ago (2016-03-22 16:58:52 UTC) #7
qinmin
lgtm
4 years, 9 months ago (2016-03-22 18:01:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1823983002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1823983002/20001
4 years, 9 months ago (2016-03-22 18:05:50 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-22 18:14:44 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/4bee90cc8b21594a3fc5c4055887886aa2009865 Cr-Commit-Position: refs/heads/master@{#382613}
4 years, 9 months ago (2016-03-22 18:16:22 UTC) #15
DaleCurtis
Hmm, I don't think this is the right fix. This may fix media session but ...
4 years, 9 months ago (2016-03-22 18:46:33 UTC) #17
DaleCurtis
Notably, I just fixed the same issue for WMPI: https://codereview.chromium.org/1813373003
4 years, 9 months ago (2016-03-22 18:52:37 UTC) #18
aberent
On 2016/03/22 18:52:37, DaleCurtis wrote: > Notably, I just fixed the same issue for WMPI: ...
4 years, 9 months ago (2016-03-22 19:43:59 UTC) #19
DaleCurtis
4 years, 9 months ago (2016-03-22 19:46:02 UTC) #20
Message was sent while issue was closed.
What about sending it when requesting remote playback?

Powered by Google App Engine
This is Rietveld 408576698