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

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

Created:
4 years, 8 months ago by aberent
Modified:
4 years, 8 months ago
Reviewers:
boliu
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2661
Target Ref:
refs/pending/branch-heads/2661
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 Review URL: https://codereview.chromium.org/1823983002 Cr-Commit-Position: refs/heads/master@{#382613} (cherry picked from commit 4bee90cc8b21594a3fc5c4055887886aa2009865) Committed: https://chromium.googlesource.com/chromium/src/+/3ad63a558b2fbe889d02eeffe2f664955bfc9f07

Patch Set 1 #

Total comments: 1
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 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 1 comment Download

Messages

Total messages: 5 (2 generated)
aberent
Committed patchset #1 (id:1) manually as 3ad63a558b2fbe889d02eeffe2f664955bfc9f07.
4 years, 8 months ago (2016-03-29 09:39:35 UTC) #2
boliu
https://codereview.chromium.org/1836093003/diff/1/content/browser/media/android/media_web_contents_observer_android.cc File content/browser/media/android/media_web_contents_observer_android.cc (right): https://codereview.chromium.org/1836093003/diff/1/content/browser/media/android/media_web_contents_observer_android.cc#newcode106 content/browser/media/android/media_web_contents_observer_android.cc:106: session_controllers_manager()->OnEnd( This doesn't build on m50 branch. session_controllers_manager() was ...
4 years, 8 months ago (2016-03-29 17:33:57 UTC) #4
aberent
4 years, 8 months ago (2016-03-29 17:45:54 UTC) #5
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1842763003/ by aberent@chromium.org.

The reason for reverting is: Didn't build on M50..

Powered by Google App Engine
This is Rietveld 408576698