Index: webrtc/api/webrtcsession.h |
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h |
index 8a32d78f5eda19185d1851b497e0e8bffc3e774e..179d30d64c78c3e1d2b9b90ad1ecb1b61b413e15 100644 |
--- a/webrtc/api/webrtcsession.h |
+++ b/webrtc/api/webrtcsession.h |
@@ -379,6 +379,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); |
@@ -405,9 +411,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. |