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

Unified Diff: webrtc/pc/channelmanager.cc

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed test nit; use reference. 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 | « webrtc/media/engine/webrtcvoiceengine_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/channelmanager.cc
diff --git a/webrtc/pc/channelmanager.cc b/webrtc/pc/channelmanager.cc
index ac2df8b0b8446df83e6321dd241ccc08b9840d69..dfa9c11f37d910d497857130072b10f88eab847f 100644
--- a/webrtc/pc/channelmanager.cc
+++ b/webrtc/pc/channelmanager.cc
@@ -267,8 +267,8 @@ VoiceChannel* ChannelManager::CreateVoiceChannel_w(
ASSERT(initialized_);
ASSERT(worker_thread_ == rtc::Thread::Current());
ASSERT(nullptr != media_controller);
- VoiceMediaChannel* media_channel =
- media_engine_->CreateChannel(media_controller->call_w(), options);
+ VoiceMediaChannel* media_channel = media_engine_->CreateChannel(
+ media_controller->call_w(), media_controller->config(), options);
if (!media_channel)
return nullptr;
@@ -325,8 +325,8 @@ VideoChannel* ChannelManager::CreateVideoChannel_w(
ASSERT(initialized_);
ASSERT(worker_thread_ == rtc::Thread::Current());
ASSERT(nullptr != media_controller);
- VideoMediaChannel* media_channel =
- media_engine_->CreateVideoChannel(media_controller->call_w(), options);
+ VideoMediaChannel* media_channel = media_engine_->CreateVideoChannel(
+ media_controller->call_w(), media_controller->config(), options);
if (media_channel == NULL) {
return NULL;
}
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698