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

Issue 2390783003: Make stream_id internal to StreamTextureHost. (Closed)

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

Description

Make stream_id internal to StreamTextureHost. 1.Move code in between StreamTextureFactory/Proxy and StreamTextureHost. 2.EstablishPeer and SetSize would go throughStreamTextureProxy instead, so outside of proxy/host nobody(WebMediaPlayer)needs to know the stream/route id). 3.Also rename stream_id to route_id. BUG=516585, 339191 Committed: https://crrev.com/6216f318b43cb2dbb784409c5be8122d1b4fd582 Cr-Commit-Position: refs/heads/master@{#426739}

Patch Set 1 #

Patch Set 2 : Remove stream_id from WebMediaPlayer. #

Patch Set 3 : Rebasing to TOT. #

Total comments: 6

Patch Set 4 : Addressed review comments. #

Total comments: 7

Patch Set 5 : Handle failure conditions of route_id. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -117 lines) Patch
M content/renderer/gpu/stream_texture_host_android.h View 1 2 3 chunks +13 lines, -3 lines 0 comments Download
M content/renderer/gpu/stream_texture_host_android.cc View 1 2 4 chunks +30 lines, -10 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory.h View 1 2 3 4 4 chunks +33 lines, -27 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory.cc View 1 2 3 4 4 chunks +41 lines, -34 lines 0 comments Download
M content/renderer/media/android/stream_texture_wrapper_impl.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/media/android/stream_texture_wrapper_impl.cc View 1 2 3 5 chunks +8 lines, -9 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 7 chunks +16 lines, -27 lines 0 comments Download

Messages

Total messages: 46 (31 generated)
sivag
ptal..
4 years, 2 months ago (2016-10-07 18:19:34 UTC) #17
liberato (no reviews please)
https://codereview.chromium.org/2390783003/diff/40001/content/renderer/media/android/stream_texture_wrapper_impl.cc File content/renderer/media/android/stream_texture_wrapper_impl.cc (right): https://codereview.chromium.org/2390783003/diff/40001/content/renderer/media/android/stream_texture_wrapper_impl.cc#newcode48 content/renderer/media/android/stream_texture_wrapper_impl.cc:48: texture_id_ = 0; why? (i have a habit of ...
4 years, 2 months ago (2016-10-07 20:01:26 UTC) #18
sivag
ptal... https://codereview.chromium.org/2390783003/diff/40001/content/renderer/media/android/stream_texture_wrapper_impl.cc File content/renderer/media/android/stream_texture_wrapper_impl.cc (right): https://codereview.chromium.org/2390783003/diff/40001/content/renderer/media/android/stream_texture_wrapper_impl.cc#newcode48 content/renderer/media/android/stream_texture_wrapper_impl.cc:48: texture_id_ = 0; On 2016/10/07 20:01:26, liberato wrote: ...
4 years, 2 months ago (2016-10-10 11:06:52 UTC) #24
liberato (no reviews please)
looks good. just a few minor points that might be me forgetting some detail somewhere ...
4 years, 2 months ago (2016-10-10 16:46:13 UTC) #25
Ken Russell (switch to Gerrit)
The content/renderer/gpu changes LGTM overall. https://codereview.chromium.org/2390783003/diff/60001/content/renderer/gpu/stream_texture_host_android.cc File content/renderer/gpu/stream_texture_host_android.cc (right): https://codereview.chromium.org/2390783003/diff/60001/content/renderer/gpu/stream_texture_host_android.cc#newcode62 content/renderer/gpu/stream_texture_host_android.cc:62: new GpuStreamTextureMsg_EstablishPeer(route_id_, frame_id, player_id)); ...
4 years, 2 months ago (2016-10-10 23:34:24 UTC) #26
sivag
ptal... https://codereview.chromium.org/2390783003/diff/60001/content/renderer/gpu/stream_texture_host_android.cc File content/renderer/gpu/stream_texture_host_android.cc (right): https://codereview.chromium.org/2390783003/diff/60001/content/renderer/gpu/stream_texture_host_android.cc#newcode62 content/renderer/gpu/stream_texture_host_android.cc:62: new GpuStreamTextureMsg_EstablishPeer(route_id_, frame_id, player_id)); On 2016/10/10 23:34:24, Ken ...
4 years, 2 months ago (2016-10-12 11:25:33 UTC) #29
liberato (no reviews please)
On 2016/10/12 11:25:33, sivag wrote: > ptal... > > https://codereview.chromium.org/2390783003/diff/60001/content/renderer/gpu/stream_texture_host_android.cc > File content/renderer/gpu/stream_texture_host_android.cc (right): > ...
4 years, 2 months ago (2016-10-12 14:35:33 UTC) #32
sivag
@ThomasGuilbert, Ptal..
4 years, 2 months ago (2016-10-13 08:45:45 UTC) #33
sivag
@Thomas, liberato, Any further comments on this patch?
4 years, 2 months ago (2016-10-20 10:09:55 UTC) #35
tguilbert (use other)
On 2016/10/20 10:09:55, sivag wrote: > @Thomas, liberato, > > Any further comments on this ...
4 years, 2 months ago (2016-10-20 20:17:30 UTC) #36
tguilbert
On 2016/10/20 20:17:30, tguilbert wrote: > On 2016/10/20 10:09:55, sivag wrote: > > @Thomas, liberato, ...
4 years, 2 months ago (2016-10-20 20:19:24 UTC) #37
liberato (no reviews please)
On 2016/10/20 20:19:24, tguilbert wrote: > On 2016/10/20 20:17:30, tguilbert wrote: > > On 2016/10/20 ...
4 years, 2 months ago (2016-10-20 21:44:04 UTC) #38
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/2390783003/80001
4 years, 2 months ago (2016-10-21 05:51:48 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-21 06:50:21 UTC) #44
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:27:49 UTC) #46
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6216f318b43cb2dbb784409c5be8122d1b4fd582
Cr-Commit-Position: refs/heads/master@{#426739}

Powered by Google App Engine
This is Rietveld 408576698