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

Unified Diff: webrtc/call/rtc_event_log_parser.h

Issue 2353543003: Added logging for audio send/receive stream configs. (Closed)
Patch Set: Added code for parsing the audio send/receive configs. Created 4 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
Index: webrtc/call/rtc_event_log_parser.h
diff --git a/webrtc/call/rtc_event_log_parser.h b/webrtc/call/rtc_event_log_parser.h
index 74f066d575ac86439dc62039f82467818eb16e30..35c818f763f853c4168badd4dda4c6ade9f2f1f1 100644
--- a/webrtc/call/rtc_event_log_parser.h
+++ b/webrtc/call/rtc_event_log_parser.h
@@ -96,6 +96,15 @@ class ParsedRtcEventLog {
// Only the fields that are stored in the protobuf will be written.
void GetVideoSendConfig(size_t index, VideoSendStream::Config* config) const;
+ // Reads a config event to a (non-NULL) AudioReceiveStream::Config struct.
+ // Only the fields that are stored in the protobuf will be written.
+ void GetAudioReceiveConfig(size_t index,
+ AudioReceiveStream::Config* config) const;
+
+ // Reads a config event to a (non-NULL) AudioSendStream::Config struct.
+ // Only the fields that are stored in the protobuf will be written.
+ void GetAudioSendConfig(size_t index, AudioSendStream::Config* config) const;
+
// Reads the SSRC from the audio playout event at |index|. The SSRC is stored
// in the output parameter ssrc. The output parameter can be set to nullptr
// and in that case the function only asserts that the event is well formed.

Powered by Google App Engine
This is Rietveld 408576698