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

Issue 1640123004: Propagate media session id into MediaPlayerAndroid (Closed)

Created:
4 years, 10 months ago by davve
Modified:
4 years, 9 months ago
CC:
avayvod+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, mlamouri+watch-media_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@pass-media-session-id-over-ipc
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Propagate media session id into MediaPlayerAndroid The media session id will be used to implicitly activate a user defined media session. BUG=497735, 581728 Committed: https://crrev.com/541ee5c14eb321ab188cce3d077649cc216404b8 Cr-Commit-Position: refs/heads/master@{#380632}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 11

Patch Set 3 : Pass default session to remote player. Avoid using zero for default session. #

Patch Set 4 : Switch member order around. Because rules. #

Total comments: 1

Patch Set 5 : Grammar #

Patch Set 6 : Add TODO for remote playback interaction #

Total comments: 4

Patch Set 7 : Use invalid instead of default id for remote media playback sessions #

Patch Set 8 : -> kDefaultMediaSessionId #

Patch Set 9 : Fix stray kDefaultMediaSessionID #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -32 lines) Patch
M chrome/browser/media/android/remote/remote_media_player_bridge.cc View 1 2 3 4 5 6 1 chunk +9 lines, -4 lines 0 comments Download
M content/browser/media/android/browser_media_player_manager.cc View 1 2 chunks +10 lines, -13 lines 0 comments Download
M media/base/android/media_codec_player.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/base/android/media_codec_player.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M media/base/android/media_codec_player_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M media/base/android/media_player_android.h View 1 2 3 4 5 6 4 chunks +20 lines, -1 line 0 comments Download
M media/base/android/media_player_android.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M media/base/android/media_player_bridge.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/base/android/media_player_bridge.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M media/base/android/media_player_bridge_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M media/base/android/media_source_player.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/base/android/media_source_player.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (11 generated)
davve
One more of the simple ones. PTAL. https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode47 chrome/browser/media/android/remote/remote_media_player_bridge.cc:47: player_id, Is ...
4 years, 10 months ago (2016-02-25 09:57:32 UTC) #3
mlamouri (slow - plz ping)
https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode51 chrome/browser/media/android/remote/remote_media_player_bridge.cc:51: manager->GetLocalPlayer(player_id)->media_session_id()), What does that mean for a remote player ...
4 years, 10 months ago (2016-02-25 14:13:55 UTC) #4
philipj_slow
https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode51 chrome/browser/media/android/remote/remote_media_player_bridge.cc:51: manager->GetLocalPlayer(player_id)->media_session_id()), On 2016/02/25 14:13:54, Mounir Lamouri wrote: > What ...
4 years, 9 months ago (2016-02-29 09:50:37 UTC) #5
whywhat
lgtm https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode47 chrome/browser/media/android/remote/remote_media_player_bridge.cc:47: player_id, On 2016/02/25 at 09:57:32, David Vest wrote: ...
4 years, 9 months ago (2016-02-29 16:26:29 UTC) #6
davve
https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode51 chrome/browser/media/android/remote/remote_media_player_bridge.cc:51: manager->GetLocalPlayer(player_id)->media_session_id()), On 2016/02/29 16:26:29, whywhat wrote: > On 2016/02/25 ...
4 years, 9 months ago (2016-03-01 05:42:22 UTC) #7
philipj_slow
https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode51 chrome/browser/media/android/remote/remote_media_player_bridge.cc:51: manager->GetLocalPlayer(player_id)->media_session_id()), On 2016/02/29 16:26:29, whywhat wrote: > On 2016/02/25 ...
4 years, 9 months ago (2016-03-03 11:10:52 UTC) #8
davve
On 2016/03/03 11:10:52, philipj_UTC7 wrote: > https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc > File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): > > https://codereview.chromium.org/1640123004/diff/20001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode51 > ...
4 years, 9 months ago (2016-03-08 07:57:59 UTC) #9
philipj_slow
On 2016/03/08 07:57:59, David Vest wrote: > On 2016/03/03 11:10:52, philipj_UTC7 wrote: > > > ...
4 years, 9 months ago (2016-03-08 16:10:47 UTC) #10
philipj_slow
third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h lgtm https://codereview.chromium.org/1640123004/diff/60001/third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h File third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h (right): https://codereview.chromium.org/1640123004/diff/60001/third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h#newcode21 third_party/WebKit/public/platform/modules/mediasession/WebMediaSession.h:21: // The media session for media that ...
4 years, 9 months ago (2016-03-08 16:34:17 UTC) #11
davve
qinmin, could you please take a look at content/browser/media/android and media/base/android/?
4 years, 9 months ago (2016-03-09 08:14:21 UTC) #13
qinmin
lgtm
4 years, 9 months ago (2016-03-09 18:20:13 UTC) #14
whywhat
https://codereview.chromium.org/1640123004/diff/100001/chrome/browser/media/android/remote/remote_media_player_bridge.cc File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): https://codereview.chromium.org/1640123004/diff/100001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode54 chrome/browser/media/android/remote/remote_media_player_bridge.cc:54: media::kDefaultMediaSessionID), What does using the default session mean in ...
4 years, 9 months ago (2016-03-10 22:34:56 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640123004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640123004/140001
4 years, 9 months ago (2016-03-11 09:53:37 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/34914) linux_android_rel_ng on ...
4 years, 9 months ago (2016-03-11 10:08:47 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640123004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640123004/160001
4 years, 9 months ago (2016-03-11 12:34:30 UTC) #21
davve
https://codereview.chromium.org/1640123004/diff/100001/chrome/browser/media/android/remote/remote_media_player_bridge.cc File chrome/browser/media/android/remote/remote_media_player_bridge.cc (right): https://codereview.chromium.org/1640123004/diff/100001/chrome/browser/media/android/remote/remote_media_player_bridge.cc#newcode54 chrome/browser/media/android/remote/remote_media_player_bridge.cc:54: media::kDefaultMediaSessionID), On 2016/03/10 22:34:56, whywhat wrote: > What does ...
4 years, 9 months ago (2016-03-11 13:20:30 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-11 14:46:55 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640123004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640123004/160001
4 years, 9 months ago (2016-03-11 14:49:14 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 9 months ago (2016-03-11 14:55:17 UTC) #29
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 14:56:51 UTC) #31
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/541ee5c14eb321ab188cce3d077649cc216404b8
Cr-Commit-Position: refs/heads/master@{#380632}

Powered by Google App Engine
This is Rietveld 408576698