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

Unified Diff: webrtc/pc/channelmanager.h

Issue 2537343003: Removing "crypto_required" from MediaContentDescription. (Closed)
Patch Set: Merge with master and clean up CreateDataChannel Created 4 years 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/pc/channel_unittest.cc ('k') | webrtc/pc/channelmanager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/channelmanager.h
diff --git a/webrtc/pc/channelmanager.h b/webrtc/pc/channelmanager.h
index cc4ad23c7bc4f61654ad05b7b15063b546641cf1..7df49bb07de2354656797e52ec3d4de5cec8b8cb 100644
--- a/webrtc/pc/channelmanager.h
+++ b/webrtc/pc/channelmanager.h
@@ -94,6 +94,7 @@ class ChannelManager {
const std::string& content_name,
const std::string* bundle_transport_name,
bool rtcp,
+ bool srtp_required,
const AudioOptions& options);
// Destroys a voice channel created with the Create API.
void DestroyVoiceChannel(VoiceChannel* voice_channel);
@@ -105,20 +106,17 @@ class ChannelManager {
const std::string& content_name,
const std::string* bundle_transport_name,
bool rtcp,
+ bool srtp_required,
const VideoOptions& options);
// Destroys a video channel created with the Create API.
void DestroyVideoChannel(VideoChannel* video_channel);
- DataChannel* CreateDataChannel(TransportController* transport_controller,
- const std::string& content_name,
- const std::string* bundle_transport_name,
- bool rtcp,
- DataChannelType data_channel_type);
DataChannel* CreateDataChannel(
- TransportController* transport_controller,
webrtc::MediaControllerInterface* media_controller,
+ TransportController* transport_controller,
const std::string& content_name,
const std::string* bundle_transport_name,
bool rtcp,
+ bool srtp_required,
DataChannelType data_channel_type);
// Destroys a data channel created with the Create API.
void DestroyDataChannel(DataChannel* data_channel);
@@ -168,6 +166,7 @@ class ChannelManager {
const std::string& content_name,
const std::string* bundle_transport_name,
bool rtcp,
+ bool srtp_required,
const AudioOptions& options);
void DestroyVoiceChannel_w(VoiceChannel* voice_channel);
VideoChannel* CreateVideoChannel_w(
@@ -176,15 +175,17 @@ class ChannelManager {
const std::string& content_name,
const std::string* bundle_transport_name,
bool rtcp,
+ bool srtp_required,
const VideoOptions& options);
void DestroyVideoChannel_w(VideoChannel* video_channel);
DataChannel* CreateDataChannel_w(
+ webrtc::MediaControllerInterface* media_controller,
TransportController* transport_controller,
const std::string& content_name,
const std::string* bundle_transport_name,
bool rtcp,
- DataChannelType data_channel_type,
- webrtc::MediaControllerInterface* media_controller);
+ bool srtp_required,
+ DataChannelType data_channel_type);
void DestroyDataChannel_w(DataChannel* data_channel);
std::unique_ptr<MediaEngineInterface> media_engine_;
« no previous file with comments | « webrtc/pc/channel_unittest.cc ('k') | webrtc/pc/channelmanager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698