Index: webrtc/voice_engine/channel.h |
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
index 13d8e49877a3d74f924dcded2105013babfb10ae..b43c7379b5ba060a15ebb4ce62c596de92002dd3 100644 |
--- a/webrtc/voice_engine/channel.h |
+++ b/webrtc/voice_engine/channel.h |
@@ -23,6 +23,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.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" |
@@ -172,6 +173,9 @@ class Channel |
void SetReceiveCodecs(const std::map<int, SdpAudioFormat>& codecs); |
+ // Send using this encoder, with this payload type. |
+ bool SetEncoder(int payload_type, std::unique_ptr<AudioEncoder> encoder); |
+ |
// API methods |
// VoEBase |