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

Issue 509213002: Add a buffering controller for Chromecast. (Closed)

Created:
6 years, 3 months ago by damienv1
Modified:
6 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add a buffering controller for Chromecast. The buffering controller serves two purposes: - for URL playback, this will smooth playback when network condition is not good enough. This basically avoids continuous stuttering in that case. - for MSE playback, it stops playback when either audio or video underruns (which is a special case of the low buffer level state). BUG=408189 Committed: https://crrev.com/63429df7b27fefd8d7af9f73986b3e08b343a430 Cr-Commit-Position: refs/heads/master@{#292764}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Clean GYP structure. #

Patch Set 4 : Remove ref-counting on the buffering controller. #

Total comments: 16

Patch Set 5 : Address CR comments from patch set #4. #

Patch Set 6 : Fix bad license header. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+823 lines, -0 lines) Patch
M chromecast/chromecast.gyp View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/buffering_controller.h View 1 2 3 4 1 chunk +108 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/buffering_controller.cc View 1 2 3 4 1 chunk +194 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/buffering_controller_unittest.cc View 1 2 3 4 1 chunk +133 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/buffering_state.h View 1 2 3 4 1 chunk +138 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/buffering_state.cc View 1 2 3 4 1 chunk +129 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/cma_logging.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/run_all_unittests.cc View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A chromecast/media/media.gyp View 1 1 chunk +50 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (3 generated)
damienv1
damienv@chromium.org changed reviewers: + gunsch@chromium.org, lcwu@google.com, scherkus@chromium.org, xhwang@chromium.org
6 years, 3 months ago (2014-08-28 00:50:14 UTC) #1
damienv1
This is an initial overview of the buffering controller on Chromecast. I still need to ...
6 years, 3 months ago (2014-08-28 00:50:51 UTC) #2
damienv1
Please take a look. Thanks !
6 years, 3 months ago (2014-08-28 01:20:12 UTC) #3
lcwu1
lcwu@chromium.org changed reviewers: + lcwu@chromium.org
6 years, 3 months ago (2014-08-28 02:14:58 UTC) #4
lcwu1
https://codereview.chromium.org/509213002/diff/60001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/509213002/diff/60001/chromecast/chromecast.gyp#newcode157 chromecast/chromecast.gyp:157: 'cast_metrics', Should we add cast_media here as a dependency ...
6 years, 3 months ago (2014-08-28 02:14:58 UTC) #5
gunsch
Just a few style/documentation nits. Code is LGTM, but obviously someone on media/ team should ...
6 years, 3 months ago (2014-08-28 02:39:54 UTC) #6
xhwang
I have some general questions about the upsteaming process: 1, Will everything compiles if this ...
6 years, 3 months ago (2014-08-28 20:44:43 UTC) #7
lcwu1
On 2014/08/28 20:44:43, xhwang wrote: > I have some general questions about the upsteaming process: ...
6 years, 3 months ago (2014-08-28 21:11:43 UTC) #8
damienv1
https://codereview.chromium.org/509213002/diff/60001/chromecast/chromecast.gyp File chromecast/chromecast.gyp (right): https://codereview.chromium.org/509213002/diff/60001/chromecast/chromecast.gyp#newcode157 chromecast/chromecast.gyp:157: 'cast_metrics', On 2014/08/28 02:14:58, lcwu1 wrote: > Should we ...
6 years, 3 months ago (2014-08-29 15:09:06 UTC) #9
gunsch
lgtm
6 years, 3 months ago (2014-08-29 15:34:38 UTC) #10
lcwu1
lgtm
6 years, 3 months ago (2014-08-29 16:16:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/damienv@chromium.org/509213002/80001
6 years, 3 months ago (2014-08-29 23:24:46 UTC) #13
xhwang
looking good. One question: since we are dropping the cma namespace and use chromecast/media, does ...
6 years, 3 months ago (2014-08-29 23:49:23 UTC) #15
gunsch
On 2014/08/29 23:49:23, xhwang wrote: > looking good. > > One question: since we are ...
6 years, 3 months ago (2014-08-29 23:54:43 UTC) #16
damienv1
@xhwang In media, we have also CDM related components, and possibly others (e.g. related to ...
6 years, 3 months ago (2014-08-29 23:57:05 UTC) #17
xhwang
On 2014/08/29 23:57:05, damienv1 wrote: > @xhwang > In media, we have also CDM related ...
6 years, 3 months ago (2014-08-30 00:10:19 UTC) #18
xhwang
On 2014/08/30 00:10:19, xhwang wrote: > On 2014/08/29 23:57:05, damienv1 wrote: > > @xhwang > ...
6 years, 3 months ago (2014-08-30 00:11:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/damienv@chromium.org/509213002/100001
6 years, 3 months ago (2014-08-30 00:40:42 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-30 01:25:09 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001) as c6accfb59d16c29af868cec3ea7607b1bdd33f03
6 years, 3 months ago (2014-08-30 02:28:54 UTC) #23
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:13:30 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/63429df7b27fefd8d7af9f73986b3e08b343a430
Cr-Commit-Position: refs/heads/master@{#292764}

Powered by Google App Engine
This is Rietveld 408576698