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

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log_parser.h

Issue 2559953002: Log audio network adapter decisions in event log. (Closed)
Patch Set: Revert ana dump changes Created 3 years, 11 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/logging/rtc_event_log/rtc_event_log_parser.h
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log_parser.h b/webrtc/logging/rtc_event_log/rtc_event_log_parser.h
index 2d66b9054b267516cf0a32ec3c3bb3009ea438e1..8472668d75229762ad6671883f1428fdfe910e8c 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log_parser.h
+++ b/webrtc/logging/rtc_event_log/rtc_event_log_parser.h
@@ -47,7 +47,8 @@ class ParsedRtcEventLog {
VIDEO_RECEIVER_CONFIG_EVENT = 8,
VIDEO_SENDER_CONFIG_EVENT = 9,
AUDIO_RECEIVER_CONFIG_EVENT = 10,
- AUDIO_SENDER_CONFIG_EVENT = 11
+ AUDIO_SENDER_CONFIG_EVENT = 11,
+ AUDIO_NETWORK_ADAPTATION_EVENT = 16
};
// Reads an RtcEventLog file and returns true if parsing was successful.
@@ -123,6 +124,13 @@ class ParsedRtcEventLog {
uint8_t* fraction_loss,
int32_t* total_packets) const;
+ // Reads a audio network adaptation event to a (non-NULL)
+ // AudioNetworkAdaptor::EncoderRuntimeConfig struct. Only the fields that are
+ // stored in the protobuf will be written.
+ void GetAudioNetworkAdaptation(
+ size_t index,
+ AudioNetworkAdaptor::EncoderRuntimeConfig* config) const;
+
private:
std::vector<rtclog::Event> events_;
};
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log.proto ('k') | webrtc/logging/rtc_event_log/rtc_event_log_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698