Index: webrtc/voice_engine/channel.h |
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
index 398087eefb481a0cd96624b6b086c3d9c0acbe58..6d568c047c70a5064940dee744cdeb05a57627bc 100644 |
--- a/webrtc/voice_engine/channel.h |
+++ b/webrtc/voice_engine/channel.h |
@@ -51,6 +51,7 @@ class FileWrapper; |
class ProcessThread; |
class ReceiveStatistics; |
class RemoteNtpTimeEstimator; |
+class RtcEventLog; |
class RTPPayloadRegistry; |
class RtpReceiver; |
class RTPReceiverAudio; |
@@ -448,6 +449,11 @@ public: |
// Disassociate a send channel if it was associated. |
void DisassociateSendChannel(int channel_id); |
+ // Sets an RtcEventLog object to enable logging of debug events in the Audio |
+ // Coding Module. Calling this function with a nullptr is allowed and will |
+ // stop all logging activity. |
+ void SetEventLog(RtcEventLog* event_log); |
+ |
protected: |
void OnIncomingFractionLoss(int fraction_lost); |