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

Unified Diff: media/cast/rtcp/rtcp_receiver.cc

Issue 136903003: cast: Wire upp logging to be sent over RTCP between receiver and sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge TOT Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/rtcp/rtcp.cc ('k') | media/cast/rtcp/rtcp_receiver_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/rtcp_receiver.cc
diff --git a/media/cast/rtcp/rtcp_receiver.cc b/media/cast/rtcp/rtcp_receiver.cc
index 1c81a458f1e261a051563250ba8d0a14c1f30d6c..9017efc58cf3f2f2b5a00b81c45b0d0ef1383eca 100644
--- a/media/cast/rtcp/rtcp_receiver.cc
+++ b/media/cast/rtcp/rtcp_receiver.cc
@@ -13,18 +13,22 @@ namespace {
media::cast::CastLoggingEvent TranslateToLogEventFromWireFormat(uint8 event) {
switch (event) {
case 1:
- return media::cast::kAckSent;
+ return media::cast::kAudioAckSent;
case 2:
return media::cast::kAudioPlayoutDelay;
case 3:
return media::cast::kAudioFrameDecoded;
case 4:
- return media::cast::kVideoFrameDecoded;
+ return media::cast::kAudioPacketReceived;
case 5:
- return media::cast::kVideoRenderDelay;
+ return media::cast::kVideoAckSent;
case 6:
- return media::cast::kPacketReceived;
+ return media::cast::kVideoFrameDecoded;
case 7:
+ return media::cast::kVideoRenderDelay;
+ case 8:
+ return media::cast::kVideoPacketReceived;
+ case 9:
return media::cast::kDuplicatePacketReceived;
default:
// If the sender adds new log messages we will end up here until we add
« no previous file with comments | « media/cast/rtcp/rtcp.cc ('k') | media/cast/rtcp/rtcp_receiver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698