Index: webrtc/voice_engine/include/voe_codec.h |
diff --git a/webrtc/voice_engine/include/voe_codec.h b/webrtc/voice_engine/include/voe_codec.h |
index 5d94ac27365a91fa3df47901f28ad66422ab7b4f..6c4fb38a2faf4fa18093ba0bbca2cd85853d3c63 100644 |
--- a/webrtc/voice_engine/include/voe_codec.h |
+++ b/webrtc/voice_engine/include/voe_codec.h |
@@ -35,6 +35,7 @@ |
namespace webrtc { |
+class RtcEventLog; |
class VoiceEngine; |
class WEBRTC_DLLEXPORT VoECodec { |
@@ -131,6 +132,10 @@ |
// success, and -1 if failed. |
virtual int SetOpusDtx(int channel, bool enable_dtx) = 0; |
+ // Get a pointer to the event logging object associated with this Voice |
+ // Engine. This pointer will remain valid until VoiceEngine is destroyed. |
+ virtual RtcEventLog* GetEventLog() = 0; |
+ |
protected: |
VoECodec() {} |
virtual ~VoECodec() {} |