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

Issue 136903003: cast: Wire upp logging to be sent over RTCP between receiver and sender. (Closed)

Created:
6 years, 11 months ago by pwestin
Modified:
6 years, 11 months ago
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, hubbe+watch_chromium.org, miu+watch_chromium.org, imcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

cast: Wire upp logging to be sent over RTCP between receiver and sender. Added lists to keep track of the unsent events for audio and video to be sent via RTCP. This is needed to prevent log messages to be lost when the log system pulls the messages to be processed by the backend. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246219

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed comments #

Patch Set 3 : Fixed nit #

Patch Set 4 : fixed GetDefaultCastSenderLoggingConfig #

Total comments: 6

Patch Set 5 : Merge TOT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+421 lines, -145 lines) Patch
M chrome/renderer/media/cast_session_delegate.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/cast/audio_receiver/audio_decoder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/audio_receiver/audio_receiver.cc View 2 chunks +31 lines, -3 lines 0 comments Download
M media/cast/audio_receiver/audio_receiver_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/audio_sender/audio_encoder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/audio_sender/audio_sender_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/logging/logging_defines.h View 1 2 3 4 5 chunks +22 lines, -5 lines 0 comments Download
M media/cast/logging/logging_defines.cc View 1 2 3 4 4 chunks +23 lines, -10 lines 0 comments Download
M media/cast/logging/logging_impl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M media/cast/logging/logging_impl.cc View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M media/cast/logging/logging_raw.h View 3 chunks +13 lines, -2 lines 0 comments Download
M media/cast/logging/logging_raw.cc View 1 2 3 4 6 chunks +87 lines, -2 lines 0 comments Download
M media/cast/logging/logging_unittest.cc View 1 2 3 4 2 chunks +39 lines, -1 line 0 comments Download
M media/cast/rtcp/rtcp.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M media/cast/rtcp/rtcp_receiver.cc View 1 chunk +8 lines, -4 lines 0 comments Download
M media/cast/rtcp/rtcp_receiver_unittest.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M media/cast/rtcp/rtcp_sender.cc View 4 chunks +15 lines, -7 lines 0 comments Download
M media/cast/rtcp/rtcp_sender_unittest.cc View 8 chunks +11 lines, -13 lines 0 comments Download
M media/cast/rtcp/rtcp_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/encode_decode_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/test/end2end_unittest.cc View 1 2 3 4 6 chunks +75 lines, -29 lines 0 comments Download
M media/cast/test/receiver.cc View 1 3 chunks +11 lines, -10 lines 0 comments Download
M media/cast/test/sender.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/transport/cast_transport_sender.h View 2 chunks +2 lines, -1 line 0 comments Download
M media/cast/transport/rtcp/rtcp_builder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/video_receiver/video_decoder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/video_receiver/video_receiver.cc View 2 chunks +32 lines, -4 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_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/video_sender/video_encoder_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 4 3 chunks +12 lines, -26 lines 0 comments Download
M media/cast/video_sender/video_sender_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
pwestin
Please review
6 years, 11 months ago (2014-01-13 20:14:19 UTC) #1
mikhal1
https://chromiumcodereview.appspot.com/136903003/diff/1/media/cast/logging/logging_defines.cc File media/cast/logging/logging_defines.cc (right): https://chromiumcodereview.appspot.com/136903003/diff/1/media/cast/logging/logging_defines.cc#newcode12 media/cast/logging/logging_defines.cc:12: CastLoggingConfig::CastLoggingConfig(bool sender) rename to is_sender for consistency https://chromiumcodereview.appspot.com/136903003/diff/1/media/cast/logging/logging_defines.h File ...
6 years, 11 months ago (2014-01-14 19:57:17 UTC) #2
pwestin
PTAL https://codereview.chromium.org/136903003/diff/1/media/cast/logging/logging_defines.cc File media/cast/logging/logging_defines.cc (right): https://codereview.chromium.org/136903003/diff/1/media/cast/logging/logging_defines.cc#newcode12 media/cast/logging/logging_defines.cc:12: CastLoggingConfig::CastLoggingConfig(bool sender) On 2014/01/14 19:57:18, mikhal1 wrote: > ...
6 years, 11 months ago (2014-01-17 23:46:17 UTC) #3
mikhal1
lgtm + nit https://chromiumcodereview.appspot.com/136903003/diff/1/media/cast/logging/logging_raw.cc File media/cast/logging/logging_raw.cc (right): https://chromiumcodereview.appspot.com/136903003/diff/1/media/cast/logging/logging_raw.cc#newcode169 media/cast/logging/logging_raw.cc:169: return; // First event in chain ...
6 years, 11 months ago (2014-01-17 23:48:13 UTC) #4
pwestin
fixed nit https://chromiumcodereview.appspot.com/136903003/diff/1/media/cast/logging/logging_raw.cc File media/cast/logging/logging_raw.cc (right): https://chromiumcodereview.appspot.com/136903003/diff/1/media/cast/logging/logging_raw.cc#newcode169 media/cast/logging/logging_raw.cc:169: return; // First event in chain can ...
6 years, 11 months ago (2014-01-17 23:57:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/136903003/270001
6 years, 11 months ago (2014-01-17 23:58:34 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=215777
6 years, 11 months ago (2014-01-18 00:23:38 UTC) #7
pwestin
Ami please review cast_session_delegate.cc
6 years, 11 months ago (2014-01-21 17:07:58 UTC) #8
Ami GONE FROM CHROMIUM
cast_session_delegate.cc LGTM
6 years, 11 months ago (2014-01-21 19:54:08 UTC) #9
Ami GONE FROM CHROMIUM
BTW feel free to TBR trivial changes. On Tue, Jan 21, 2014 at 9:07 AM, ...
6 years, 11 months ago (2014-01-21 19:54:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/136903003/540001
6 years, 11 months ago (2014-01-21 20:04:21 UTC) #11
commit-bot: I haz the power
Failed to apply patch for media/cast/cast.gyp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-21 20:04:37 UTC) #12
Alpha Left Google
Drive-by comments. https://codereview.chromium.org/136903003/diff/540001/media/cast/logging/logging_raw.cc File media/cast/logging/logging_raw.cc (right): https://codereview.chromium.org/136903003/diff/540001/media/cast/logging/logging_raw.cc#newcode29 media/cast/logging/logging_raw.cc:29: InsertRtcpFrameEvent(time_of_event, event, rtp_timestamp, base::TimeDelta()); It's also not ...
6 years, 11 months ago (2014-01-21 21:14:44 UTC) #13
pwestin
Without doing a massive re-factor this was the easiest way to allow logs to be ...
6 years, 11 months ago (2014-01-21 22:00:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/136903003/620002
6 years, 11 months ago (2014-01-21 22:29:54 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=192959
6 years, 11 months ago (2014-01-22 00:30:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/136903003/620002
6 years, 11 months ago (2014-01-22 01:03:46 UTC) #17
commit-bot: I haz the power
6 years, 11 months ago (2014-01-22 02:55:29 UTC) #18
Message was sent while issue was closed.
Change committed as 246219

Powered by Google App Engine
This is Rietveld 408576698