Index: webrtc/api/webrtcsession.h |
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h |
index 970f967cb8da595197389321cff79269c8577352..e80b14c9d4476ba3fbd7185ae281a99eae77fa7f 100644 |
--- a/webrtc/api/webrtcsession.h |
+++ b/webrtc/api/webrtcsession.h |
@@ -382,6 +382,11 @@ class WebRtcSession : public AudioProviderInterface, |
const std::string& content_name, |
cricket::TransportDescription* info); |
+ // Returns the name of the transport channel when BUNDLE is enabled. |
+ const std::string& GetTransportForChannel( |
+ 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); |
@@ -408,9 +413,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& transport_name); |
+ bool CreateVideoChannel(const cricket::ContentInfo* content, |
+ const std::string& transport_name); |
+ bool CreateDataChannel(const cricket::ContentInfo* content, |
+ const std::string& transport_name); |
// Listens to SCTP CONTROL messages on unused SIDs and process them as OPEN |
// messages. |