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

Unified Diff: webrtc/api/peerconnection.h

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: Ugly but implemented 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
« no previous file with comments | « no previous file | webrtc/api/peerconnection.cc » ('j') | webrtc/api/peerconnection.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/peerconnection.h
diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h
index 7ad1940f77a89b68a5bdd57a27a405b13188281a..f5f41bb1f5d1f938472f56a18c507490ff4797bd 100644
--- a/webrtc/api/peerconnection.h
+++ b/webrtc/api/peerconnection.h
@@ -196,6 +196,8 @@ class PeerConnection : public PeerConnectionInterface,
CreateSessionDescriptionObserver* observer,
const std::string& error);
+ void LateInitialize();
+
bool IsClosed() const {
return signaling_state_ == PeerConnectionInterface::kClosed;
}
@@ -375,6 +377,7 @@ class PeerConnection : public PeerConnectionInterface,
rtc::scoped_ptr<WebRtcSession> session_;
// ... But stats_ depends on session_ so it should be destroyed even earlier.
rtc::scoped_ptr<StatsCollector> stats_;
+ cricket::MediaConfig media_config_;
};
} // namespace webrtc
« no previous file with comments | « no previous file | webrtc/api/peerconnection.cc » ('j') | webrtc/api/peerconnection.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698