Chromium Code Reviews| 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 cedf47d6b9ddf3e963d73f21fc7d8caaa080cc20..cbbd9c2c42b43022226d7e1e8e7b2d0f7130f18b 100644 |
| --- a/webrtc/voice_engine/include/voe_codec.h |
| +++ b/webrtc/voice_engine/include/voe_codec.h |
| @@ -137,6 +137,14 @@ class WEBRTC_DLLEXPORT VoECodec { |
| // are updated. |
| virtual int GetOpusDtxStatus(int channel, bool* enabled) { return -1; } |
| + // If send codec is Opus on a specified |channel|, set its CBR. Returns 0 if |
| + // success, and -1 if failed. |
| + virtual int SetOpusCbr(int channel, bool enable_cbr) = 0; |
|
the sun
2017/03/23 08:46:44
The legacy VoE APIs (e.g. VoECodec) are in the pro
|
| + |
| + // If send codec is Opus on a specified |channel|, return its CBR status. |
| + // Returns 0 on success, and -1 if failed. |
| + virtual int GetOpusCbrStatus(int channel, bool* enabled) { return -1; } |
| + |
| protected: |
| VoECodec() {} |
| virtual ~VoECodec() {} |