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

Unified Diff: talk/app/webrtc/peerconnectionfactory.cc

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed Per's comments. 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
Index: talk/app/webrtc/peerconnectionfactory.cc
diff --git a/talk/app/webrtc/peerconnectionfactory.cc b/talk/app/webrtc/peerconnectionfactory.cc
index a781eb3e2594240b67aa6e61a01e11fa9b6718e8..67d1bcfa1e98dc9225c1ca08ffeac93e6d4f33fd 100644
--- a/talk/app/webrtc/peerconnectionfactory.cc
+++ b/talk/app/webrtc/peerconnectionfactory.cc
@@ -303,10 +303,11 @@ PeerConnectionFactory::CreateAudioTrack(const std::string& id,
return AudioTrackProxy::Create(signaling_thread_, track);
}
-webrtc::MediaControllerInterface* PeerConnectionFactory::CreateMediaController()
+webrtc::MediaControllerInterface* PeerConnectionFactory::CreateMediaController(
+ const cricket::MediaConfig& config)
const {
RTC_DCHECK(signaling_thread_->IsCurrent());
- return MediaControllerInterface::Create(worker_thread_,
+ return MediaControllerInterface::Create(config, worker_thread_,
channel_manager_.get());
}

Powered by Google App Engine
This is Rietveld 408576698