Index: webrtc/voice_engine/channel_proxy.h |
diff --git a/webrtc/voice_engine/channel_proxy.h b/webrtc/voice_engine/channel_proxy.h |
index b70dcc454d0528e6fa0fb5ef26330ac4337abe58..1d990197ac41c09240e75e3843e98ee54eaa4e96 100644 |
--- a/webrtc/voice_engine/channel_proxy.h |
+++ b/webrtc/voice_engine/channel_proxy.h |
@@ -15,6 +15,7 @@ |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/base/race_checker.h" |
#include "webrtc/base/thread_checker.h" |
+#include "webrtc/modules/audio_coding/codecs/audio_encoder_factory.h" |
#include "webrtc/voice_engine/channel_manager.h" |
#include "webrtc/voice_engine/include/voe_rtp_rtcp.h" |
@@ -52,6 +53,10 @@ class ChannelProxy { |
explicit ChannelProxy(const ChannelOwner& channel_owner); |
virtual ~ChannelProxy(); |
+ virtual bool SetSendFormat(int payload_type, |
+ const SdpAudioFormat& format, |
+ AudioEncoderFactory* factory); |
+ |
virtual void SetRTCPStatus(bool enable); |
virtual void SetLocalSSRC(uint32_t ssrc); |
virtual void SetRTCP_CNAME(const std::string& c_name); |
@@ -90,6 +95,7 @@ class ChannelProxy { |
virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); |
virtual const rtc::scoped_refptr<AudioDecoderFactory>& |
GetAudioDecoderFactory() const; |
+ virtual AudioCodingModule& GetAudioCodingModule(); |
virtual void SetChannelOutputVolumeScaling(float scaling); |
virtual void SetRtcEventLog(RtcEventLog* event_log); |
virtual void EnableAudioNetworkAdaptor(const std::string& config_string); |