Index: webrtc/pc/channelmanager.cc |
diff --git a/webrtc/pc/channelmanager.cc b/webrtc/pc/channelmanager.cc |
index 02a53f8877300b266c74402c090e3b93ede01140..f8ed7702d7fd61d242051a414d33749f9c985333 100644 |
--- a/webrtc/pc/channelmanager.cc |
+++ b/webrtc/pc/channelmanager.cc |
@@ -212,14 +212,14 @@ |
rtc::Thread* signaling_thread, |
const std::string& content_name, |
const std::string* bundle_transport_name, |
- bool rtcp_mux_required, |
+ bool rtcp, |
bool srtp_required, |
const AudioOptions& options) { |
return worker_thread_->Invoke<VoiceChannel*>( |
RTC_FROM_HERE, |
Bind(&ChannelManager::CreateVoiceChannel_w, this, media_controller, |
rtp_transport, rtcp_transport, signaling_thread, content_name, |
- bundle_transport_name, rtcp_mux_required, srtp_required, options)); |
+ bundle_transport_name, rtcp, srtp_required, options)); |
} |
VoiceChannel* ChannelManager::CreateVoiceChannel_w( |
@@ -229,7 +229,7 @@ |
rtc::Thread* signaling_thread, |
const std::string& content_name, |
const std::string* bundle_transport_name, |
- bool rtcp_mux_required, |
+ bool rtcp, |
bool srtp_required, |
const AudioOptions& options) { |
RTC_DCHECK(initialized_); |
@@ -243,7 +243,7 @@ |
VoiceChannel* voice_channel = new VoiceChannel( |
worker_thread_, network_thread_, signaling_thread, media_engine_.get(), |
- media_channel, content_name, rtcp_mux_required, srtp_required); |
+ media_channel, content_name, rtcp, srtp_required); |
voice_channel->SetCryptoOptions(crypto_options_); |
if (!voice_channel->Init_w(rtp_transport, rtcp_transport)) { |
@@ -284,14 +284,14 @@ |
rtc::Thread* signaling_thread, |
const std::string& content_name, |
const std::string* bundle_transport_name, |
- bool rtcp_mux_required, |
+ bool rtcp, |
bool srtp_required, |
const VideoOptions& options) { |
return worker_thread_->Invoke<VideoChannel*>( |
RTC_FROM_HERE, |
Bind(&ChannelManager::CreateVideoChannel_w, this, media_controller, |
rtp_transport, rtcp_transport, signaling_thread, content_name, |
- bundle_transport_name, rtcp_mux_required, srtp_required, options)); |
+ bundle_transport_name, rtcp, srtp_required, options)); |
} |
VideoChannel* ChannelManager::CreateVideoChannel_w( |
@@ -301,7 +301,7 @@ |
rtc::Thread* signaling_thread, |
const std::string& content_name, |
const std::string* bundle_transport_name, |
- bool rtcp_mux_required, |
+ bool rtcp, |
bool srtp_required, |
const VideoOptions& options) { |
RTC_DCHECK(initialized_); |
@@ -313,9 +313,9 @@ |
return NULL; |
} |
- VideoChannel* video_channel = new VideoChannel( |
- worker_thread_, network_thread_, signaling_thread, media_channel, |
- content_name, rtcp_mux_required, srtp_required); |
+ VideoChannel* video_channel = |
+ new VideoChannel(worker_thread_, network_thread_, signaling_thread, |
+ media_channel, content_name, rtcp, srtp_required); |
video_channel->SetCryptoOptions(crypto_options_); |
if (!video_channel->Init_w(rtp_transport, rtcp_transport)) { |
delete video_channel; |
@@ -356,13 +356,13 @@ |
rtc::Thread* signaling_thread, |
const std::string& content_name, |
const std::string* bundle_transport_name, |
- bool rtcp_mux_required, |
+ bool rtcp, |
bool srtp_required) { |
return worker_thread_->Invoke<RtpDataChannel*>( |
RTC_FROM_HERE, |
Bind(&ChannelManager::CreateRtpDataChannel_w, this, media_controller, |
rtp_transport, rtcp_transport, signaling_thread, content_name, |
- bundle_transport_name, rtcp_mux_required, srtp_required)); |
+ bundle_transport_name, rtcp, srtp_required)); |
} |
RtpDataChannel* ChannelManager::CreateRtpDataChannel_w( |
@@ -372,7 +372,7 @@ |
rtc::Thread* signaling_thread, |
const std::string& content_name, |
const std::string* bundle_transport_name, |
- bool rtcp_mux_required, |
+ bool rtcp, |
bool srtp_required) { |
// This is ok to alloc from a thread other than the worker thread. |
RTC_DCHECK(initialized_); |
@@ -386,9 +386,9 @@ |
return nullptr; |
} |
- RtpDataChannel* data_channel = new RtpDataChannel( |
- worker_thread_, network_thread_, signaling_thread, media_channel, |
- content_name, rtcp_mux_required, srtp_required); |
+ RtpDataChannel* data_channel = |
+ new RtpDataChannel(worker_thread_, network_thread_, signaling_thread, |
+ media_channel, content_name, rtcp, srtp_required); |
data_channel->SetCryptoOptions(crypto_options_); |
if (!data_channel->Init_w(rtp_transport, rtcp_transport)) { |
LOG(LS_WARNING) << "Failed to init data channel."; |