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

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

Issue 165723002: Cast: Implemented size limiting and event filtering in EncodingEventSubscriber. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/logging/encoding_event_subscriber_unittest.cc ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_defines.h
diff --git a/media/cast/logging/logging_defines.h b/media/cast/logging/logging_defines.h
index b517f1a65a7fa9a2093cdf3073d490809f1c8c43..10529a2b64ab68d4fc3f2dad14a932822ad77db5 100644
--- a/media/cast/logging/logging_defines.h
+++ b/media/cast/logging/logging_defines.h
@@ -16,6 +16,8 @@ namespace cast {
static const uint32 kFrameIdUnknown = 0xFFFFFFFF;
+typedef uint32 RtpTimestamp;
+
struct CastLoggingConfig {
// Constructs default config - all logging is disabled.
CastLoggingConfig();
@@ -74,7 +76,10 @@ enum CastLoggingEvent {
std::string CastLoggingToString(CastLoggingEvent event);
-typedef uint32 RtpTimestamp;
+// CastLoggingEvent are classified into one of three following types.
+enum EventMediaType { AUDIO_EVENT, VIDEO_EVENT, OTHER_EVENT };
+
+EventMediaType GetEventMediaType(CastLoggingEvent event);
struct FrameEvent {
FrameEvent();
« no previous file with comments | « media/cast/logging/encoding_event_subscriber_unittest.cc ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698