Index: webrtc/logging/rtc_event_log/rtc_event_log.h |
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log.h b/webrtc/logging/rtc_event_log/rtc_event_log.h |
index ec57b8b394f45e1d9c719be1a78dc4738ee0e42b..e5946d86737dec6d4fdd7a52da8c70905e0fb4b4 100644 |
--- a/webrtc/logging/rtc_event_log/rtc_event_log.h |
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.h |
@@ -17,6 +17,7 @@ |
#include "webrtc/api/call/audio_receive_stream.h" |
#include "webrtc/api/call/audio_send_stream.h" |
#include "webrtc/base/platform_file.h" |
+#include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_network_adaptor.h" |
#include "webrtc/video_receive_stream.h" |
#include "webrtc/video_send_stream.h" |
@@ -108,6 +109,10 @@ class RtcEventLog { |
uint8_t fraction_loss, |
int32_t total_packets) = 0; |
+ // Logs audio encoder configuration changes. |
+ virtual void LogAudioEncoderConfig( |
+ const AudioNetworkAdaptor::EncoderRuntimeConfig& config) = 0; |
+ |
// Reads an RtcEventLog file and returns true when reading was successful. |
// The result is stored in the given EventStream object. |
// The order of the events in the EventStream is implementation defined. |
@@ -149,6 +154,8 @@ class RtcEventLogNullImpl final : public RtcEventLog { |
void LogBwePacketLossEvent(int32_t bitrate, |
uint8_t fraction_loss, |
int32_t total_packets) override {} |
+ void LogAudioEncoderConfig( |
+ const AudioNetworkAdaptor::EncoderRuntimeConfig& config) override{}; |
}; |
} // namespace webrtc |