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

Unified Diff: media/cast/logging/logging_defines.cc

Issue 83903002: Cast: Add capabity to parse receiver and sender log messages over RTCP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge TOT Created 7 years, 1 month 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/logging/logging_defines.h ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_defines.cc
diff --git a/media/cast/logging/logging_defines.cc b/media/cast/logging/logging_defines.cc
index d70fc63efd8271cbc2718df37c3834f20c21da1a..85abe7c5d45dbb1c5080e39d3533072bb4eab4f8 100644
--- a/media/cast/logging/logging_defines.cc
+++ b/media/cast/logging/logging_defines.cc
@@ -23,6 +23,10 @@ CastLoggingConfig GetDefaultCastLoggingConfig() {
std::string CastLoggingToString(CastLoggingEvent event) {
switch (event) {
+ case(kUnknown):
+ // Can happen if the sender and receiver of RTCP log messages are not
+ // aligned.
+ return "Unknown";
case(kRttMs):
return "RttMs";
case(kPacketLoss):
« no previous file with comments | « media/cast/logging/logging_defines.h ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698