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

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: Rebase 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
« no previous file with comments | « webrtc/api/webrtcsession_unittest.cc ('k') | webrtc/pc/channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/channel.h
diff --git a/webrtc/pc/channel.h b/webrtc/pc/channel.h
index 32828bbea5d27fd5bfbaa4b3e1adc759a117e086..d9f5fd6d279f7ce1a046c14c35ac1239a67d6caf 100644
--- a/webrtc/pc/channel.h
+++ b/webrtc/pc/channel.h
@@ -77,7 +77,7 @@ class BaseChannel
const std::string& content_name,
bool rtcp);
virtual ~BaseChannel();
- bool Init_w();
+ bool Init_w(const std::string* bundle_transport_name);
// Deinit may be called multiple times and is simply ignored if it's already
// done.
void Deinit();
@@ -313,7 +313,7 @@ class BaseChannel
}
private:
- bool InitNetwork_n();
+ bool InitNetwork_n(const std::string* bundle_transport_name);
void DisconnectTransportChannels_n();
void DestroyTransportChannels_n();
void SignalSentPacket_n(TransportChannel* channel,
@@ -373,7 +373,7 @@ class VoiceChannel : public BaseChannel {
const std::string& content_name,
bool rtcp);
~VoiceChannel();
- bool Init_w();
+ bool Init_w(const std::string* bundle_transport_name);
// Configure sending media on the stream with SSRC |ssrc|
// If there is only one sending stream SSRC 0 can be used.
@@ -489,7 +489,7 @@ class VideoChannel : public BaseChannel {
const std::string& content_name,
bool rtcp);
~VideoChannel();
- bool Init_w();
+ bool Init_w(const std::string* bundle_transport_name);
// downcasts a MediaChannel
VideoMediaChannel* media_channel() const override {
@@ -564,7 +564,7 @@ class DataChannel : public BaseChannel {
const std::string& content_name,
bool rtcp);
~DataChannel();
- bool Init_w();
+ bool Init_w(const std::string* bundle_transport_name);
virtual bool SendData(const SendDataParams& params,
const rtc::CopyOnWriteBuffer& payload,
« no previous file with comments | « webrtc/api/webrtcsession_unittest.cc ('k') | webrtc/pc/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698