OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "webrtc/pc/mediasession.h" | 30 #include "webrtc/pc/mediasession.h" |
31 | 31 |
32 namespace cricket { | 32 namespace cricket { |
33 | 33 |
34 class ChannelManager; | 34 class ChannelManager; |
35 class DataChannel; | 35 class DataChannel; |
36 class StatsReport; | 36 class StatsReport; |
37 class VideoChannel; | 37 class VideoChannel; |
38 class VoiceChannel; | 38 class VoiceChannel; |
39 | 39 |
| 40 #ifdef HAVE_QUIC |
| 41 class QuicTransportChannel; |
| 42 #endif // HAVE_QUIC |
| 43 |
40 } // namespace cricket | 44 } // namespace cricket |
41 | 45 |
42 namespace webrtc { | 46 namespace webrtc { |
43 | 47 |
44 class IceRestartAnswerLatch; | 48 class IceRestartAnswerLatch; |
45 class JsepIceCandidate; | 49 class JsepIceCandidate; |
46 class MediaStreamSignaling; | 50 class MediaStreamSignaling; |
47 class WebRtcSessionDescriptionFactory; | 51 class WebRtcSessionDescriptionFactory; |
48 | 52 |
49 extern const char kBundleWithoutRtcpMux[]; | 53 extern const char kBundleWithoutRtcpMux[]; |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 sigslot::signal0<> SignalVideoChannelDestroyed; | 327 sigslot::signal0<> SignalVideoChannelDestroyed; |
324 sigslot::signal0<> SignalDataChannelCreated; | 328 sigslot::signal0<> SignalDataChannelCreated; |
325 sigslot::signal0<> SignalDataChannelDestroyed; | 329 sigslot::signal0<> SignalDataChannelDestroyed; |
326 // Called when the whole session is destroyed. | 330 // Called when the whole session is destroyed. |
327 sigslot::signal0<> SignalDestroyed; | 331 sigslot::signal0<> SignalDestroyed; |
328 | 332 |
329 // Called when a valid data channel OPEN message is received. | 333 // Called when a valid data channel OPEN message is received. |
330 // std::string represents the data channel label. | 334 // std::string represents the data channel label. |
331 sigslot::signal2<const std::string&, const InternalDataChannelInit&> | 335 sigslot::signal2<const std::string&, const InternalDataChannelInit&> |
332 SignalDataChannelOpenMessage; | 336 SignalDataChannelOpenMessage; |
| 337 #ifdef HAVE_QUIC |
| 338 sigslot::signal1<cricket::QuicTransportChannel*> |
| 339 SignalQuicTransportChannelCreated; |
| 340 #endif // HAVE_QUIC |
333 | 341 |
334 private: | 342 private: |
335 // Indicates the type of SessionDescription in a call to SetLocalDescription | 343 // Indicates the type of SessionDescription in a call to SetLocalDescription |
336 // and SetRemoteDescription. | 344 // and SetRemoteDescription. |
337 enum Action { | 345 enum Action { |
338 kOffer, | 346 kOffer, |
339 kPrAnswer, | 347 kPrAnswer, |
340 kAnswer, | 348 kAnswer, |
341 }; | 349 }; |
342 | 350 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 cricket::AudioOptions audio_options_; | 517 cricket::AudioOptions audio_options_; |
510 cricket::VideoOptions video_options_; | 518 cricket::VideoOptions video_options_; |
511 MetricsObserverInterface* metrics_observer_; | 519 MetricsObserverInterface* metrics_observer_; |
512 | 520 |
513 // Declares the bundle policy for the WebRTCSession. | 521 // Declares the bundle policy for the WebRTCSession. |
514 PeerConnectionInterface::BundlePolicy bundle_policy_; | 522 PeerConnectionInterface::BundlePolicy bundle_policy_; |
515 | 523 |
516 // Declares the RTCP mux policy for the WebRTCSession. | 524 // Declares the RTCP mux policy for the WebRTCSession. |
517 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; | 525 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; |
518 | 526 |
| 527 #ifdef HAVE_QUIC |
| 528 cricket::QuicTransportChannel* quic_transport_channel_ = nullptr; |
| 529 #endif // HAVE_QUIC |
| 530 |
519 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); | 531 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); |
520 }; | 532 }; |
521 } // namespace webrtc | 533 } // namespace webrtc |
522 | 534 |
523 #endif // WEBRTC_API_WEBRTCSESSION_H_ | 535 #endif // WEBRTC_API_WEBRTCSESSION_H_ |
OLD | NEW |