Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: talk/media/webrtc/fakewebrtccall.cc

Issue 1390753002: Implement AudioReceiveStream::GetStats(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: merge master Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/media/webrtc/fakewebrtccall.h ('k') | talk/media/webrtc/fakewebrtcvoiceengine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_++;
}
« no previous file with comments | « talk/media/webrtc/fakewebrtccall.h ('k') | talk/media/webrtc/fakewebrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698