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

Unified Diff: webrtc/api/webrtcsession.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 | « no previous file | webrtc/api/webrtcsession.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/webrtcsession.h
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h
index a97bd7306c062daedeb5435b0da60f2de98dca5a..98217bff266a2a67e7fbb99964210051d88fa5a1 100644
--- a/webrtc/api/webrtcsession.h
+++ b/webrtc/api/webrtcsession.h
@@ -386,6 +386,12 @@ class WebRtcSession : public AudioProviderInterface,
const std::string& content_name,
cricket::TransportDescription* info);
+ // Returns the name of the transport channel when BUNDLE is enabled, or
+ // nullptr if the channel is not part of any bundle.
+ const std::string* GetBundleTransportName(
+ const cricket::ContentInfo* content,
+ const cricket::ContentGroup* bundle);
+
// Cause all the BaseChannels in the bundle group to have the same
// transport channel.
bool EnableBundle(const cricket::ContentGroup& bundle);
@@ -412,9 +418,12 @@ class WebRtcSession : public AudioProviderInterface,
bool CreateChannels(const cricket::SessionDescription* desc);
// Helper methods to create media channels.
- bool CreateVoiceChannel(const cricket::ContentInfo* content);
- bool CreateVideoChannel(const cricket::ContentInfo* content);
- bool CreateDataChannel(const cricket::ContentInfo* content);
+ bool CreateVoiceChannel(const cricket::ContentInfo* content,
+ const std::string* bundle_transport);
+ bool CreateVideoChannel(const cricket::ContentInfo* content,
+ const std::string* bundle_transport);
+ bool CreateDataChannel(const cricket::ContentInfo* content,
+ const std::string* bundle_transport);
// Listens to SCTP CONTROL messages on unused SIDs and process them as OPEN
// messages.
« no previous file with comments | « no previous file | webrtc/api/webrtcsession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698