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

Issue 165723002: Cast: Implemented size limiting and event filtering in EncodingEventSubscriber. (Closed)

Created:
6 years, 10 months ago by imcheng
Modified:
6 years, 10 months ago
Reviewers:
Alpha Left Google
CC:
chromium-reviews, hclam+watch_chromium.org, mikhal+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, pwestin+watch_google.com, feature-media-reviews_chromium.org, jshin+watch_chromium.org, hubbe+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Cast: Implemented size limiting and event filtering in EncodingEventSubscriber. All raw events are categorized into one of three types: video, audio, or other (i.e. not associated with a particular stream). EncodingEventSubscriber can be configured to only process either audio or video events. The subscriber can also be configured on having a max limit on number of frames to store in the frame and packet maps. This helps bound the memory usage of logging and the size of the blob we are uploading at the end. How they are going to be used: for each CastRtpStream (one audio, one video) we will install a EncodingEventSubscriber, listening to AUDIO / VIDEO events respectively. The number of events to store is yet to be determined and is dependent on how well the data can be compressed, or what's the size limit for uploading. Lastly, EncodingEventSubscriber has been changed to only process frame and packet related events and not generic events. We are not interested in generic events right now, and they can be computed from frame / packet events anyways. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251521

Patch Set 1 : #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : Addressed alpha's comments, removed generic event listening #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -154 lines) Patch
M media/cast/logging/encoding_event_subscriber.h View 1 2 3 chunks +21 lines, -10 lines 0 comments Download
M media/cast/logging/encoding_event_subscriber.cc View 1 2 4 chunks +89 lines, -72 lines 0 comments Download
M media/cast/logging/encoding_event_subscriber_unittest.cc View 1 2 18 chunks +119 lines, -71 lines 0 comments Download
M media/cast/logging/logging_defines.h View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M media/cast/logging/logging_defines.cc View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
imcheng
6 years, 10 months ago (2014-02-14 01:31:45 UTC) #1
Alpha Left Google
On 2014/02/14 01:31:45, imcheng1 wrote: I don't think we'll listen to RttMs, JitterMs. These are ...
6 years, 10 months ago (2014-02-14 18:32:12 UTC) #2
Alpha Left Google
https://codereview.chromium.org/165723002/diff/50001/media/cast/logging/encoding_event_subscriber.cc File media/cast/logging/encoding_event_subscriber.cc (right): https://codereview.chromium.org/165723002/diff/50001/media/cast/logging/encoding_event_subscriber.cc#newcode120 media/cast/logging/encoding_event_subscriber.cc:120: void EncodingEventSubscriber::OnReceiveGenericEvent( What are the generic events that we ...
6 years, 10 months ago (2014-02-14 18:42:39 UTC) #3
imcheng
https://codereview.chromium.org/165723002/diff/50001/media/cast/logging/encoding_event_subscriber.cc File media/cast/logging/encoding_event_subscriber.cc (right): https://codereview.chromium.org/165723002/diff/50001/media/cast/logging/encoding_event_subscriber.cc#newcode120 media/cast/logging/encoding_event_subscriber.cc:120: void EncodingEventSubscriber::OnReceiveGenericEvent( On 2014/02/14 18:42:39, Alpha wrote: > What ...
6 years, 10 months ago (2014-02-14 20:24:16 UTC) #4
Alpha Left Google
Please update CL description regarding the other events and generic events.
6 years, 10 months ago (2014-02-14 21:10:31 UTC) #5
Alpha Left Google
lgtm
6 years, 10 months ago (2014-02-14 21:13:21 UTC) #6
imcheng
Updated CL description.
6 years, 10 months ago (2014-02-14 21:19:47 UTC) #7
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 10 months ago (2014-02-14 21:20:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/165723002/160001
6 years, 10 months ago (2014-02-14 21:26:46 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 22:43:42 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=264694
6 years, 10 months ago (2014-02-14 22:43:43 UTC) #11
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 10 months ago (2014-02-14 22:44:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/165723002/160001
6 years, 10 months ago (2014-02-14 22:53:28 UTC) #13
commit-bot: I haz the power
6 years, 10 months ago (2014-02-15 04:57:26 UTC) #14
Message was sent while issue was closed.
Change committed as 251521

Powered by Google App Engine
This is Rietveld 408576698