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 910e9a61b9170ff1716b8b4ef17532a5626af839..ec57b8b394f45e1d9c719be1a78dc4738ee0e42b 100644 |
--- a/webrtc/logging/rtc_event_log/rtc_event_log.h |
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.h |
@@ -14,6 +14,8 @@ |
#include <memory> |
#include <string> |
+#include "webrtc/api/call/audio_receive_stream.h" |
+#include "webrtc/api/call/audio_send_stream.h" |
#include "webrtc/base/platform_file.h" |
#include "webrtc/video_receive_stream.h" |
#include "webrtc/video_send_stream.h" |
@@ -77,6 +79,14 @@ class RtcEventLog { |
virtual void LogVideoSendStreamConfig( |
const webrtc::VideoSendStream::Config& config) = 0; |
+ // Logs configuration information for webrtc::AudioReceiveStream. |
+ virtual void LogAudioReceiveStreamConfig( |
+ const webrtc::AudioReceiveStream::Config& config) = 0; |
+ |
+ // Logs configuration information for webrtc::AudioSendStream. |
+ virtual void LogAudioSendStreamConfig( |
+ const webrtc::AudioSendStream::Config& config) = 0; |
+ |
// Logs the header of an incoming or outgoing RTP packet. packet_length |
// is the total length of the packet, including both header and payload. |
virtual void LogRtpHeader(PacketDirection direction, |
@@ -123,6 +133,10 @@ class RtcEventLogNullImpl final : public RtcEventLog { |
const VideoReceiveStream::Config& config) override {} |
void LogVideoSendStreamConfig( |
const VideoSendStream::Config& config) override {} |
+ void LogAudioReceiveStreamConfig( |
+ const AudioReceiveStream::Config& config) override {} |
+ void LogAudioSendStreamConfig( |
+ const AudioSendStream::Config& config) override {} |
void LogRtpHeader(PacketDirection direction, |
MediaType media_type, |
const uint8_t* header, |