Chromium Code Reviews| Index: webrtc/audio/audio_receive_stream.h |
| diff --git a/webrtc/audio/audio_receive_stream.h b/webrtc/audio/audio_receive_stream.h |
| index adac88387613a43a7f6220567a75c8e881fe313c..9811a677123eb77f0231a22eacee10881a57b5a1 100644 |
| --- a/webrtc/audio/audio_receive_stream.h |
| +++ b/webrtc/audio/audio_receive_stream.h |
| @@ -12,6 +12,7 @@ |
| #define WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ |
| #include <memory> |
| +#include <vector> |
| #include "webrtc/api/audio/audio_mixer.h" |
| #include "webrtc/audio/audio_state.h" |
| @@ -49,6 +50,7 @@ class AudioReceiveStream final : public webrtc::AudioReceiveStream, |
| int GetOutputLevel() const override; |
| void SetSink(std::unique_ptr<AudioSinkInterface> sink) override; |
| void SetGain(float gain) override; |
| + const std::vector<webrtc::RtpSource> GetSources() override; |
|
hbos
2017/04/05 11:15:41
Make the return value non-const since it's returne
the sun
2017/04/05 14:58:29
+1 the method should be const, not the return valu
Zhi Huang
2017/04/06 03:09:49
Done.
|
| // TODO(nisse): Intended to be part of an RtpPacketReceiver interface. |
| void OnRtpPacket(const RtpPacketReceived& packet); |