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

Unified Diff: talk/session/media/channelmanager.cc

Issue 1646253004: Split out dscp option from VideoOptions to new struct MediaChannelOptions. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. 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 | « talk/session/media/channelmanager.h ('k') | talk/session/media/channelmanager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « talk/session/media/channelmanager.h ('k') | talk/session/media/channelmanager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698