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

Issue 270493003: Cast: Deduplicate event types in cast library. (Closed)

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

Description

Cast: Deduplicate event types in cast library. - Remove k{Audio,Video}XXX event types and add in kXXX event types to be shared between audio and video. - Changed RTCP event mapping to accept both k{A,V}XXX and kXXX event type encodings from the receiver. Old encodings get mapped to the unified types on sender side. - Changed reciever reference implementation to always send new unified event types. - Changed LoggingImpl::Insert{Frame,Packet}Event calls to take additional EventMediaType argument. - Added a param in RTCP to indicate whether receiver events from incoming ssrc are audio or video events. - Remove generic event types. - Remove other unused events -- kVideoFrameSentToEncoder -- k{AV}PacketSentToPacer -- kDuplicate{AV}PacketReceived BUG=365829 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269473

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+690 lines, -752 lines) Patch
M chrome/renderer/media/cast_session_delegate.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/audio_receiver/audio_receiver.cc View 5 chunks +11 lines, -20 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/audio_sender/audio_encoder.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/audio_sender/audio_sender.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/logging/encoding_event_subscriber.h View 1 chunk +0 lines, -2 lines 0 comments Download
M media/cast/logging/encoding_event_subscriber.cc View 4 chunks +9 lines, -13 lines 0 comments Download
M media/cast/logging/encoding_event_subscriber_unittest.cc View 32 chunks +61 lines, -40 lines 0 comments Download
M media/cast/logging/logging_defines.h View 4 chunks +24 lines, -43 lines 0 comments Download
M media/cast/logging/logging_defines.cc View 3 chunks +16 lines, -70 lines 0 comments Download
M media/cast/logging/logging_impl.h View 1 chunk +16 lines, -8 lines 0 comments Download
M media/cast/logging/logging_impl.cc View 3 chunks +20 lines, -10 lines 0 comments Download
M media/cast/logging/logging_impl_unittest.cc View 6 chunks +21 lines, -16 lines 0 comments Download
M media/cast/logging/logging_raw.h View 2 chunks +20 lines, -15 lines 0 comments Download
M media/cast/logging/logging_raw.cc View 4 chunks +20 lines, -9 lines 0 comments Download
M media/cast/logging/logging_raw_unittest.cc View 9 chunks +31 lines, -15 lines 0 comments Download
M media/cast/logging/proto/proto_utils.cc View 1 chunk +16 lines, -34 lines 0 comments Download
M media/cast/logging/proto/raw_events.proto View 3 chunks +19 lines, -4 lines 0 comments Download
M media/cast/logging/receiver_time_offset_estimator_impl.h View 1 chunk +4 lines, -4 lines 0 comments Download
M media/cast/logging/receiver_time_offset_estimator_impl.cc View 4 chunks +9 lines, -5 lines 0 comments Download
M media/cast/logging/receiver_time_offset_estimator_impl_unittest.cc View 7 chunks +23 lines, -15 lines 0 comments Download
M media/cast/logging/serialize_deserialize_test.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M media/cast/logging/simple_event_subscriber_unittest.cc View 1 chunk +15 lines, -9 lines 0 comments Download
M media/cast/logging/stats_event_subscriber.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/logging/stats_event_subscriber.cc View 10 chunks +24 lines, -67 lines 0 comments Download
M media/cast/logging/stats_event_subscriber_unittest.cc View 11 chunks +20 lines, -11 lines 0 comments Download
M media/cast/rtcp/receiver_rtcp_event_subscriber.h View 3 chunks +7 lines, -15 lines 0 comments Download
M media/cast/rtcp/receiver_rtcp_event_subscriber.cc View 4 chunks +12 lines, -24 lines 0 comments Download
M media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc View 5 chunks +21 lines, -17 lines 0 comments Download
M media/cast/rtcp/rtcp.h View 3 chunks +5 lines, -1 line 0 comments Download
M media/cast/rtcp/rtcp.cc View 7 chunks +46 lines, -51 lines 0 comments Download
M media/cast/rtcp/rtcp_defines.h View 2 chunks +3 lines, -4 lines 0 comments Download
M media/cast/rtcp/rtcp_defines.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/cast/rtcp/rtcp_receiver.cc View 1 2 2 chunks +1 line, -8 lines 0 comments Download
M media/cast/rtcp/rtcp_receiver_unittest.cc View 1 2 5 chunks +12 lines, -12 lines 0 comments Download
M media/cast/rtcp/rtcp_sender.cc View 1 2 1 chunk +4 lines, -10 lines 0 comments Download
M media/cast/rtcp/rtcp_sender_unittest.cc View 1 2 7 chunks +27 lines, -25 lines 0 comments Download
M media/cast/rtcp/rtcp_unittest.cc View 11 chunks +22 lines, -11 lines 0 comments Download
M media/cast/rtcp/rtcp_utility.cc View 1 2 1 chunk +31 lines, -41 lines 0 comments Download
M media/cast/rtcp/sender_rtcp_event_subscriber.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M media/cast/rtcp/sender_rtcp_event_subscriber_unittest.cc View 4 chunks +14 lines, -14 lines 0 comments Download
M media/cast/test/end2end_unittest.cc View 6 chunks +35 lines, -32 lines 0 comments Download
M media/cast/transport/pacing/paced_sender.cc View 2 chunks +6 lines, -16 lines 0 comments Download
M media/cast/transport/pacing/paced_sender_unittest.cc View 2 chunks +11 lines, -8 lines 0 comments Download
M media/cast/video_receiver/video_receiver.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/video_receiver/video_receiver.cc View 6 chunks +15 lines, -19 lines 0 comments Download
M media/cast/video_receiver/video_receiver_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/video_sender/external_video_encoder.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 5 chunks +11 lines, -14 lines 0 comments Download
M media/cast/video_sender/video_sender_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
imcheng
6 years, 7 months ago (2014-05-07 01:28:05 UTC) #1
Alpha Left Google
Is the log reporting still intact with a receiver with this change?
6 years, 7 months ago (2014-05-07 05:12:52 UTC) #2
imcheng
Receiver to sender report: The mapping in rtcp_receiver.cc can handle encoding from either a receiver ...
6 years, 7 months ago (2014-05-07 07:11:20 UTC) #3
Alpha Left Google
Okay. LGTM.
6 years, 7 months ago (2014-05-07 17:57:23 UTC) #4
Alpha Left Google
The CQ bit was checked by hclam@chromium.org
6 years, 7 months ago (2014-05-07 17:57:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/270493003/20001
6 years, 7 months ago (2014-05-07 17:58:09 UTC) #6
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 7 months ago (2014-05-07 18:44:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/270493003/40001
6 years, 7 months ago (2014-05-07 18:48:27 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 23:27:44 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 03:40:34 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 04:24:40 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium
6 years, 7 months ago (2014-05-08 04:24:41 UTC) #12
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 7 months ago (2014-05-08 04:55:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/270493003/40001
6 years, 7 months ago (2014-05-08 04:56:14 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 18:32:23 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 22:45:43 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/13738)
6 years, 7 months ago (2014-05-08 22:45:43 UTC) #17
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 7 months ago (2014-05-08 22:48:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/270493003/40001
6 years, 7 months ago (2014-05-08 22:55:47 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 05:54:08 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 13:34:27 UTC) #21
commit-bot: I haz the power
Failed to apply patch for media/cast/audio_sender/audio_encoder.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-09 13:34:27 UTC) #22
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 7 months ago (2014-05-09 17:31:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/270493003/60001
6 years, 7 months ago (2014-05-09 17:35:02 UTC) #24
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 01:50:00 UTC) #25
Message was sent while issue was closed.
Change committed as 269473

Powered by Google App Engine
This is Rietveld 408576698