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

Unified Diff: webrtc/api/webrtcsession.cc

Issue 1713043002: Late initialize MediaController, for less resource i.e. ProcessThread, usage by PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comment Created 4 years, 10 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/api/mediacontroller.cc ('K') | « webrtc/api/statscollector.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/webrtcsession.cc
diff --git a/webrtc/api/webrtcsession.cc b/webrtc/api/webrtcsession.cc
index e5cea14439151afdbc420e77eb7cd09f812a3781..abea1cbd96c4c89fdceb8d559409638c31e8c0d1 100644
--- a/webrtc/api/webrtcsession.cc
+++ b/webrtc/api/webrtcsession.cc
@@ -657,6 +657,7 @@ void WebRtcSession::Close() {
ASSERT(!voice_channel_);
ASSERT(!video_channel_);
ASSERT(!data_channel_);
+ media_controller_->Close();
}
cricket::BaseChannel* WebRtcSession::GetChannel(
« webrtc/api/mediacontroller.cc ('K') | « webrtc/api/statscollector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698