Chromium Code Reviews| Index: webrtc/media/base/mediaengine.h |
| diff --git a/webrtc/media/base/mediaengine.h b/webrtc/media/base/mediaengine.h |
| index 4c7d62a1e4b7bc99503c3ce8885d4c80a276295a..68b5ef5fb63a10a0ac3e4f1cdbacd981aed2c833 100644 |
| --- a/webrtc/media/base/mediaengine.h |
| +++ b/webrtc/media/base/mediaengine.h |
| @@ -80,7 +80,8 @@ class MediaEngineInterface { |
| // Gets the current microphone level, as a value between 0 and 10. |
| virtual int GetInputLevel() = 0; |
| - virtual const std::vector<AudioCodec>& audio_codecs() = 0; |
| + virtual const std::vector<AudioCodec>& audio_send_codecs() = 0; |
| + virtual const std::vector<AudioCodec>& audio_recv_codecs() = 0; |
| virtual RtpCapabilities GetAudioCapabilities() = 0; |
| virtual const std::vector<VideoCodec>& video_codecs() = 0; |
| virtual RtpCapabilities GetVideoCapabilities() = 0; |
| @@ -155,8 +156,11 @@ class CompositeMediaEngine : public MediaEngineInterface { |
| virtual int GetInputLevel() { |
| return voice_.GetInputLevel(); |
| } |
| - virtual const std::vector<AudioCodec>& audio_codecs() { |
| - return voice_.codecs(); |
| + virtual const std::vector<AudioCodec>& audio_send_codecs() { |
|
ossu
2016/05/26 14:18:50
Is this an interface change that needs backwards c
pthatcher1
2016/05/31 18:26:48
It's only called by ChannelManager, so as long as
ossu
2016/06/01 08:34:12
Acknowledged.
|
| + return voice_.send_codecs(); |
| + } |
| + virtual const std::vector<AudioCodec>& audio_recv_codecs() { |
| + return voice_.recv_codecs(); |
| } |
| virtual RtpCapabilities GetAudioCapabilities() { |
| return voice_.GetCapabilities(); |