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

Unified Diff: webrtc/pc/webrtcsession.cc

Issue 2863123002: Wire up BWE stats through WebrtcSession so that they are filled in both for audio and video calls. (Closed)
Patch Set: Comments addressed, generalized InvokeOnWorker(). Created 3 years, 7 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
« webrtc/pc/rtcstatscollector.cc ('K') | « webrtc/pc/webrtcsession.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/webrtcsession.cc
diff --git a/webrtc/pc/webrtcsession.cc b/webrtc/pc/webrtcsession.cc
index cc424b222e081c994b6a7e546f59c126d86a7c01..a7f97885f02c959cee39ce9165fdc228354888d2 100644
--- a/webrtc/pc/webrtcsession.cc
+++ b/webrtc/pc/webrtcsession.cc
@@ -1895,6 +1895,10 @@ bool WebRtcSession::CreateDataChannel(const cricket::ContentInfo* content,
return true;
}
+Call::Stats WebRtcSession::GetCallStats() {
+ return call_->GetStats();
hbos 2017/05/09 12:48:14 I suspect this is not safe? call_ is a raw pointer
holmer 2017/05/30 14:44:29 As discussed offline, I have no added thread check
+}
+
std::unique_ptr<SessionStats> WebRtcSession::GetStats_n(
const ChannelNamePairs& channel_name_pairs) {
RTC_DCHECK(network_thread()->IsCurrent());
« webrtc/pc/rtcstatscollector.cc ('K') | « webrtc/pc/webrtcsession.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698