Index: talk/media/webrtc/fakewebrtccall.cc |
diff --git a/talk/media/webrtc/fakewebrtccall.cc b/talk/media/webrtc/fakewebrtccall.cc |
index 6e2a88fce21191df88dff8733cab3a02cc16c0ab..04deeb4c4344d1e4f8b47414ffb96af5462ad8cf 100644 |
--- a/talk/media/webrtc/fakewebrtccall.cc |
+++ b/talk/media/webrtc/fakewebrtccall.cc |
@@ -54,15 +54,16 @@ FakeAudioReceiveStream::FakeAudioReceiveStream( |
RTC_DCHECK(config.voe_channel_id != -1); |
} |
-webrtc::AudioReceiveStream::Stats FakeAudioReceiveStream::GetStats() const { |
- return webrtc::AudioReceiveStream::Stats(); |
-} |
- |
const webrtc::AudioReceiveStream::Config& |
FakeAudioReceiveStream::GetConfig() const { |
return config_; |
} |
+void FakeAudioReceiveStream::SetStats( |
+ const webrtc::AudioReceiveStream::Stats& stats) { |
+ stats_ = stats; |
+} |
+ |
void FakeAudioReceiveStream::IncrementReceivedPackets() { |
received_packets_++; |
} |