Index: webrtc/api/webrtcsession.h |
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h |
index 76af6c7c3d2669830665c77731d3dfd0e661651d..d9f2e83b9e1cef47c6872bdb9e803fef3fefba5b 100644 |
--- a/webrtc/api/webrtcsession.h |
+++ b/webrtc/api/webrtcsession.h |
@@ -39,6 +39,10 @@ class StatsReport; |
class VideoChannel; |
class VoiceChannel; |
+#ifdef HAVE_QUIC |
+class QuicTransportChannel; |
+#endif // HAVE_QUIC |
+ |
} // namespace cricket |
namespace webrtc { |
@@ -145,6 +149,7 @@ class WebRtcSession : public AudioProviderInterface, |
virtual ~WebRtcSession(); |
// These are const to allow them to be called from const methods. |
+ rtc::Thread* network_thread() const { return network_thread_; } |
rtc::Thread* worker_thread() const { return worker_thread_; } |
rtc::Thread* signaling_thread() const { return signaling_thread_; } |
@@ -337,6 +342,10 @@ class WebRtcSession : public AudioProviderInterface, |
// std::string represents the data channel label. |
sigslot::signal2<const std::string&, const InternalDataChannelInit&> |
SignalDataChannelOpenMessage; |
+#ifdef HAVE_QUIC |
+ sigslot::signal1<cricket::QuicTransportChannel*> |
+ SignalQuicTransportChannelCreated; |
+#endif // HAVE_QUIC |
private: |
// Indicates the type of SessionDescription in a call to SetLocalDescription |
@@ -481,6 +490,7 @@ class WebRtcSession : public AudioProviderInterface, |
void OnSentPacket_w(const rtc::SentPacket& sent_packet); |
+ rtc::Thread* const network_thread_; |
rtc::Thread* const worker_thread_; |
rtc::Thread* const signaling_thread_; |
@@ -532,6 +542,10 @@ class WebRtcSession : public AudioProviderInterface, |
bool received_first_video_packet_ = false; |
bool received_first_audio_packet_ = false; |
+#ifdef HAVE_QUIC |
+ cricket::QuicTransportChannel* quic_transport_channel_ = nullptr; |
+#endif // HAVE_QUIC |
+ |
RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
}; |
} // namespace webrtc |