Index: talk/session/media/channelmanager.cc |
diff --git a/talk/session/media/channelmanager.cc b/talk/session/media/channelmanager.cc |
index bfecb5897c794486f6968397c630cbaa64583ffe..68a624205fba1af2d4c26e58e84ffe826df3baee 100644 |
--- a/talk/session/media/channelmanager.cc |
+++ b/talk/session/media/channelmanager.cc |
@@ -252,10 +252,11 @@ VoiceChannel* ChannelManager::CreateVoiceChannel( |
TransportController* transport_controller, |
const std::string& content_name, |
bool rtcp, |
- const AudioOptions& options) { |
+ const MediaChannelOptions& options, |
+ const AudioOptions& audio_options) { |
return worker_thread_->Invoke<VoiceChannel*>( |
Bind(&ChannelManager::CreateVoiceChannel_w, this, media_controller, |
- transport_controller, content_name, rtcp, options)); |
+ transport_controller, content_name, rtcp, options, audio_options)); |
} |
VoiceChannel* ChannelManager::CreateVoiceChannel_w( |
@@ -263,12 +264,14 @@ VoiceChannel* ChannelManager::CreateVoiceChannel_w( |
TransportController* transport_controller, |
const std::string& content_name, |
bool rtcp, |
- const AudioOptions& options) { |
+ const MediaChannelOptions& options, |
+ const AudioOptions& audio_options) { |
ASSERT(initialized_); |
ASSERT(worker_thread_ == rtc::Thread::Current()); |
ASSERT(nullptr != media_controller); |
VoiceMediaChannel* media_channel = |
- media_engine_->CreateChannel(media_controller->call_w(), options); |
+ media_engine_->CreateChannel( |
+ media_controller->call_w(), options, audio_options); |
if (!media_channel) |
return nullptr; |
@@ -310,10 +313,11 @@ VideoChannel* ChannelManager::CreateVideoChannel( |
TransportController* transport_controller, |
const std::string& content_name, |
bool rtcp, |
- const VideoOptions& options) { |
+ const MediaChannelOptions& options, |
+ const VideoOptions& video_options) { |
return worker_thread_->Invoke<VideoChannel*>( |
Bind(&ChannelManager::CreateVideoChannel_w, this, media_controller, |
- transport_controller, content_name, rtcp, options)); |
+ transport_controller, content_name, rtcp, options, video_options)); |
} |
VideoChannel* ChannelManager::CreateVideoChannel_w( |
@@ -321,12 +325,14 @@ VideoChannel* ChannelManager::CreateVideoChannel_w( |
TransportController* transport_controller, |
const std::string& content_name, |
bool rtcp, |
- const VideoOptions& options) { |
+ const MediaChannelOptions& options, |
+ const VideoOptions& video_options) { |
ASSERT(initialized_); |
ASSERT(worker_thread_ == rtc::Thread::Current()); |
ASSERT(nullptr != media_controller); |
VideoMediaChannel* media_channel = |
- media_engine_->CreateVideoChannel(media_controller->call_w(), options); |
+ media_engine_->CreateVideoChannel( |
+ media_controller->call_w(), options, video_options); |
if (media_channel == NULL) { |
return NULL; |
} |