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

Unified Diff: webrtc/video/rtc_event_log.h

Issue 1340283002: Added support for logging the SSRC corresponding to AudioPlayout events. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added missing include and changed CHECK_EQ to RTC_CHECK_EQ. Created 5 years, 3 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 | « webrtc/modules/audio_coding/main/interface/audio_coding_module.h ('k') | webrtc/video/rtc_event_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/rtc_event_log.h
diff --git a/webrtc/video/rtc_event_log.h b/webrtc/video/rtc_event_log.h
index a58d745ecffe0fb0964a499b110e9ed86eea980e..daab3c116ff0944d0f99723b946ee2fd2542a694 100644
--- a/webrtc/video/rtc_event_log.h
+++ b/webrtc/video/rtc_event_log.h
@@ -31,9 +31,6 @@ enum class MediaType;
class RtcEventLog {
public:
- // The types of debug events that are currently supported for logging.
- enum class DebugEvent { kLogStart, kLogEnd, kAudioPlayout };
-
virtual ~RtcEventLog() {}
static rtc::scoped_ptr<RtcEventLog> Create();
@@ -67,8 +64,8 @@ class RtcEventLog {
const uint8_t* packet,
size_t length) = 0;
- // Logs a debug event.
- virtual void LogDebugEvent(DebugEvent event_type) = 0;
+ // Logs an audio playout event
+ virtual void LogAudioPlayout(uint32_t ssrc) = 0;
// Reads an RtcEventLog file and returns true when reading was successful.
// The result is stored in the given EventStream object.
« no previous file with comments | « webrtc/modules/audio_coding/main/interface/audio_coding_module.h ('k') | webrtc/video/rtc_event_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698