Index: webrtc/voice_engine/channel.h |
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
index 03b19cc3a2656a720490f981a4c1f1cea2c5b030..0b37889603e7dbaa0b9e2886044077301516a20a 100644 |
--- a/webrtc/voice_engine/channel.h |
+++ b/webrtc/voice_engine/channel.h |
@@ -21,6 +21,7 @@ |
#include "webrtc/common_types.h" |
#include "webrtc/modules/audio_coding/acm2/codec_manager.h" |
#include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" |
+#include "webrtc/modules/audio_coding/codecs/audio_encoder_factory.h" |
#include "webrtc/modules/audio_coding/include/audio_coding_module.h" |
#include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer_defines.h" |
#include "webrtc/modules/audio_processing/rms_level.h" |
@@ -183,6 +184,9 @@ class Channel |
int32_t GetSendCodec(CodecInst& codec); |
int32_t GetRecCodec(CodecInst& codec); |
int32_t SetSendCodec(const CodecInst& codec); |
+ bool SetSendFormat(int payload_type, |
+ const SdpAudioFormat& format, |
+ AudioEncoderFactory* factory); // Not part of VoECodec! |
the sun
2017/02/22 14:08:38
Can you just move it up to e.g. line 173-ish and a
ossu
2017/02/22 14:24:41
Sure. I thought it logically fit better with SetSe
|
void SetBitRate(int bitrate_bps, int64_t probing_interval_ms); |
int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); |
int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); |