Index: talk/media/webrtc/fakewebrtccall.cc |
diff --git a/talk/media/webrtc/fakewebrtccall.cc b/talk/media/webrtc/fakewebrtccall.cc |
index bf51fb30d8f4cec8d1ffdae4736bdcc5bbcd49e5..d50a53cb63a59b787ce67c83f4293dae3bc7db13 100644 |
--- a/talk/media/webrtc/fakewebrtccall.cc |
+++ b/talk/media/webrtc/fakewebrtccall.cc |
@@ -28,10 +28,12 @@ |
#include "talk/media/webrtc/fakewebrtccall.h" |
#include <algorithm> |
+#include <utility> |
#include "talk/media/base/rtputils.h" |
#include "webrtc/base/checks.h" |
#include "webrtc/base/gunit.h" |
+#include "webrtc/audio/audio_sink.h" |
namespace cricket { |
FakeAudioSendStream::FakeAudioSendStream( |
@@ -90,6 +92,11 @@ webrtc::AudioReceiveStream::Stats FakeAudioReceiveStream::GetStats() const { |
return stats_; |
} |
+void FakeAudioReceiveStream::SetSink( |
+ rtc::scoped_ptr<webrtc::AudioSinkInterface> sink) { |
+ sink_ = std::move(sink); |
+} |
+ |
FakeVideoSendStream::FakeVideoSendStream( |
const webrtc::VideoSendStream::Config& config, |
const webrtc::VideoEncoderConfig& encoder_config) |