| 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_;
|
| };
|
|
|