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

Unified Diff: webrtc/pc/channel.h

Issue 1972493002: Do not create a temporary transport channel when using max-bundle (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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
Index: webrtc/pc/channel.h
diff --git a/webrtc/pc/channel.h b/webrtc/pc/channel.h
index 4518301d3b65e9e6fdf89586d258b519e42a4677..9af2471385fb2f9307f020e51878bae68a171779 100644
--- a/webrtc/pc/channel.h
+++ b/webrtc/pc/channel.h
@@ -72,7 +72,7 @@ class BaseChannel
const std::string& content_name,
bool rtcp);
virtual ~BaseChannel();
- bool Init();
+ bool Init(const std::string& transport_name);
// Deinit may be called multiple times and is simply ignored if it's alreay
// done.
void Deinit();
@@ -335,7 +335,7 @@ class VoiceChannel : public BaseChannel {
const std::string& content_name,
bool rtcp);
~VoiceChannel();
- bool Init();
+ bool Init(const std::string& transport_name);
// Configure sending media on the stream with SSRC |ssrc|
// If there is only one sending stream SSRC 0 can be used.
@@ -441,7 +441,7 @@ class VideoChannel : public BaseChannel {
const std::string& content_name,
bool rtcp);
~VideoChannel();
- bool Init();
+ bool Init(const std::string& transport_name);
// downcasts a MediaChannel
virtual VideoMediaChannel* media_channel() const {
@@ -507,7 +507,7 @@ class DataChannel : public BaseChannel {
const std::string& content_name,
bool rtcp);
~DataChannel();
- bool Init();
+ bool Init(const std::string& transport_name);
virtual bool SendData(const SendDataParams& params,
const rtc::CopyOnWriteBuffer& payload,

Powered by Google App Engine
This is Rietveld 408576698