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..cedf47d6b9ddf3e963d73f21fc7d8caaa080cc20 100644 |
--- a/webrtc/voice_engine/include/voe_codec.h |
+++ b/webrtc/voice_engine/include/voe_codec.h |
@@ -131,6 +131,12 @@ class WEBRTC_DLLEXPORT VoECodec { |
// success, and -1 if failed. |
virtual int SetOpusDtx(int channel, bool enable_dtx) = 0; |
+ // If send codec is Opus on a specified |channel|, return its DTX status. |
+ // Returns 0 on success, and -1 if failed. |
+ // TODO(ivoc): Make GetOpusDtxStatus() pure virtual when all deriving classes |
+ // are updated. |
+ virtual int GetOpusDtxStatus(int channel, bool* enabled) { return -1; } |
+ |
protected: |
VoECodec() {} |
virtual ~VoECodec() {} |