diff options
author | minyue@webrtc.org <minyue@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-08-12 08:13:33 +0000 |
---|---|---|
committer | minyue@webrtc.org <minyue@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-08-12 08:13:33 +0000 |
commit | 1bfd54032a8e60b993fb3b32c15ba9c55184c86b (patch) | |
tree | b21eb10c388a4313dd1ab869a446f0c0593c3508 /voice_engine/channel.h | |
parent | 22c283b04855b8775d323e8788a0438ce2d7c2b5 (diff) | |
download | webrtc-1bfd54032a8e60b993fb3b32c15ba9c55184c86b.tar.gz |
Adding SetOpusMaxBandwidth in VoE and ACM
This is a step to solve
https://code.google.com/p/webrtc/issues/detail?id=1906
In particular, we add an API in VoE and ACM to call Opus's API of setting maximum bandwidth.
TEST = added a test in voe_cmd_test and listened to the result
BUG=
R=henrika@google.com, henrika@webrtc.org, turaj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/21129004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6869 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/channel.h')
-rw-r--r-- | voice_engine/channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/voice_engine/channel.h b/voice_engine/channel.h index 8385ccc8..a4f7ecd4 100644 --- a/voice_engine/channel.h +++ b/voice_engine/channel.h @@ -207,6 +207,7 @@ public: int32_t SetRecPayloadType(const CodecInst& codec); int32_t GetRecPayloadType(CodecInst& codec); int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); + int SetOpusMaxBandwidth(int bandwidth_hz); // VoE dual-streaming. int SetSecondarySendCodec(const CodecInst& codec, int red_payload_type); |