Index: webrtc/voice_engine/channel.h |
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
index 03b19cc3a2656a720490f981a4c1f1cea2c5b030..fa9e8998222b9603d56a075aa976e00c9b371989 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.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" |
@@ -169,6 +170,10 @@ class Channel |
// go. |
const rtc::scoped_refptr<AudioDecoderFactory>& GetAudioDecoderFactory() const; |
+ // Send using this encoder, with this payload type. |
+ virtual bool SetEncoder(int payload_type, |
the sun
2017/03/10 12:55:43
Remove "virtual"?
|
+ std::unique_ptr<AudioEncoder> encoder); |
+ |
// API methods |
// VoEBase |