Chromium Code Reviews| Index: webrtc/voice_engine/include/voe_codec.h |
| diff --git a/webrtc/voice_engine/include/voe_codec.h b/webrtc/voice_engine/include/voe_codec.h |
| index cedf47d6b9ddf3e963d73f21fc7d8caaa080cc20..3ca0cdfe5a385fe091be48e3e7e055e3f8278d4a 100644 |
| --- a/webrtc/voice_engine/include/voe_codec.h |
| +++ b/webrtc/voice_engine/include/voe_codec.h |
| @@ -32,6 +32,7 @@ |
| #define WEBRTC_VOICE_ENGINE_VOE_CODEC_H |
| #include "webrtc/common_types.h" |
| +#include "webrtc/modules/audio_coding/codecs/audio_format.h" |
| namespace webrtc { |
| @@ -79,6 +80,9 @@ class WEBRTC_DLLEXPORT VoECodec { |
| // message. The utilized parameters in the |codec| structure are: |
| // plname, plfreq, pltype and channels. |
| virtual int SetRecPayloadType(int channel, const CodecInst& codec) = 0; |
| + virtual int SetRecPayloadType(int channel, |
|
the sun
2016/11/21 08:37:05
Why do we need to add this to the legacy API?
ossu
2016/11/30 12:43:43
Should we go from AudioReceiveStream directly thro
|
| + int payload_type, |
| + const SdpAudioFormat& format) = 0; |
| // Gets the actual payload type that is set for receiving a |codec| on a |
| // |channel|. The value it retrieves will either be the default payload |