commit | 6aac93bd9c3da92e92b016d83c8f84c65aae65b6 | [log] [tgz] |
---|---|---|
author | minyue@webrtc.org <minyue@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Tue Aug 12 08:13:33 2014 +0000 |
committer | minyue@webrtc.org <minyue@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Tue Aug 12 08:13:33 2014 +0000 |
tree | 7e91280191f21fe776c946370090b565b94a0176 | |
parent | c98ce3b34cc85d93a5bdb1aa2ab050544d693a04 [diff] [blame] |
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@6869 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/voice_engine/voe_codec_impl.h b/webrtc/voice_engine/voe_codec_impl.h index 1b9f00e..498854d 100644 --- a/webrtc/voice_engine/voe_codec_impl.h +++ b/webrtc/voice_engine/voe_codec_impl.h
@@ -54,6 +54,8 @@ VadModes& mode, bool& disabledDTX); + virtual int SetOpusMaxBandwidth(int channel, int bandwidth_hz); + // Dual-streaming virtual int SetSecondarySendCodec(int channel, const CodecInst& codec, int red_payload_type);