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

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

Issue 164253003: Cast: Split kDuplicatePacketReceived into separate events for audio/video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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_receiver.cc ('k') | media/cast/video_receiver/video_receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/rtcp_sender.cc
diff --git a/media/cast/rtcp/rtcp_sender.cc b/media/cast/rtcp/rtcp_sender.cc
index b11e60a0a33b47a1ea62844fea4e661ba27d70bd..8846a155cf428282b191ed7038ed812e2397c32b 100644
--- a/media/cast/rtcp/rtcp_sender.cc
+++ b/media/cast/rtcp/rtcp_sender.cc
@@ -41,8 +41,10 @@ int ConvertEventTypeToWireFormat(const media::cast::CastLoggingEvent& event) {
return 7;
case media::cast::kVideoPacketReceived:
return 8;
- case media::cast::kDuplicatePacketReceived:
+ case media::cast::kDuplicateAudioPacketReceived:
return 9;
+ case media::cast::kDuplicateVideoPacketReceived:
+ return 10;
default:
return 0; // Not an interesting event.
}
@@ -640,7 +642,8 @@ void RtcpSender::BuildReceiverLog(RtcpReceiverLogMessage* receiver_log_message,
break;
case kAudioPacketReceived:
case kVideoPacketReceived:
- case kDuplicatePacketReceived:
+ case kDuplicateAudioPacketReceived:
+ case kDuplicateVideoPacketReceived:
big_endian_writer.WriteU16(event_message.packet_id);
big_endian_writer.WriteU16(event_type_and_timestamp_delta);
break;
« no previous file with comments | « media/cast/rtcp/rtcp_receiver.cc ('k') | media/cast/video_receiver/video_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698