Late initialize MediaController, for less resource i.e. ProcessThread, usage by PeerConnection.

BUG=chromium:582441

Review URL: https://codereview.webrtc.org/1713043002

Cr-Commit-Position: refs/heads/master@{#11834}
This commit is contained in:
solenberg
2016-03-01 12:42:03 -08:00
committed by Commit bot
parent 27f982bbcb
commit 03d6d57f41
5 changed files with 24 additions and 14 deletions

View File

@ -648,6 +648,7 @@ void WebRtcSession::Close() {
ASSERT(!voice_channel_);
ASSERT(!video_channel_);
ASSERT(!data_channel_);
media_controller_->Close();
}
cricket::BaseChannel* WebRtcSession::GetChannel(