OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 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 21 matching lines...) Expand all Loading... |
32 #include "webrtc/media/base/videosourceinterface.h" | 32 #include "webrtc/media/base/videosourceinterface.h" |
33 #include "webrtc/p2p/base/dtlstransportinternal.h" | 33 #include "webrtc/p2p/base/dtlstransportinternal.h" |
34 #include "webrtc/p2p/base/packettransportinternal.h" | 34 #include "webrtc/p2p/base/packettransportinternal.h" |
35 #include "webrtc/p2p/base/transportcontroller.h" | 35 #include "webrtc/p2p/base/transportcontroller.h" |
36 #include "webrtc/p2p/client/socketmonitor.h" | 36 #include "webrtc/p2p/client/socketmonitor.h" |
37 #include "webrtc/pc/audiomonitor.h" | 37 #include "webrtc/pc/audiomonitor.h" |
38 #include "webrtc/pc/bundlefilter.h" | 38 #include "webrtc/pc/bundlefilter.h" |
39 #include "webrtc/pc/mediamonitor.h" | 39 #include "webrtc/pc/mediamonitor.h" |
40 #include "webrtc/pc/mediasession.h" | 40 #include "webrtc/pc/mediasession.h" |
41 #include "webrtc/pc/rtcpmuxfilter.h" | 41 #include "webrtc/pc/rtcpmuxfilter.h" |
| 42 #include "webrtc/pc/rtptransport.h" |
42 #include "webrtc/pc/srtpfilter.h" | 43 #include "webrtc/pc/srtpfilter.h" |
43 | 44 |
44 namespace webrtc { | 45 namespace webrtc { |
45 class AudioSinkInterface; | 46 class AudioSinkInterface; |
46 } // namespace webrtc | 47 } // namespace webrtc |
47 | 48 |
48 namespace cricket { | 49 namespace cricket { |
49 | 50 |
50 struct CryptoParams; | 51 struct CryptoParams; |
51 class MediaContentDescription; | 52 class MediaContentDescription; |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 rtc::Thread* const worker_thread_; | 392 rtc::Thread* const worker_thread_; |
392 rtc::Thread* const network_thread_; | 393 rtc::Thread* const network_thread_; |
393 rtc::Thread* const signaling_thread_; | 394 rtc::Thread* const signaling_thread_; |
394 rtc::AsyncInvoker invoker_; | 395 rtc::AsyncInvoker invoker_; |
395 | 396 |
396 const std::string content_name_; | 397 const std::string content_name_; |
397 std::unique_ptr<ConnectionMonitor> connection_monitor_; | 398 std::unique_ptr<ConnectionMonitor> connection_monitor_; |
398 | 399 |
399 // Won't be set when using raw packet transports. SDP-specific thing. | 400 // Won't be set when using raw packet transports. SDP-specific thing. |
400 std::string transport_name_; | 401 std::string transport_name_; |
401 // True if RTCP-multiplexing is required. In other words, no standalone RTCP | |
402 // transport will ever be used for this channel. | |
403 const bool rtcp_mux_required_; | |
404 | 402 |
405 // Separate DTLS/non-DTLS pointers to support using BaseChannel without DTLS. | 403 // Separate DTLS/non-DTLS pointers to support using BaseChannel without DTLS. |
406 // Temporary measure until more refactoring is done. | 404 // Temporary measure until more refactoring is done. |
407 // If non-null, "X_dtls_transport_" will always equal "X_packet_transport_". | 405 // If non-null, "X_dtls_transport_" will always equal "X_packet_transport_". |
408 DtlsTransportInternal* rtp_dtls_transport_ = nullptr; | 406 DtlsTransportInternal* rtp_dtls_transport_ = nullptr; |
409 DtlsTransportInternal* rtcp_dtls_transport_ = nullptr; | 407 DtlsTransportInternal* rtcp_dtls_transport_ = nullptr; |
410 rtc::PacketTransportInternal* rtp_packet_transport_ = nullptr; | 408 webrtc::RtpTransport rtp_transport_; |
411 rtc::PacketTransportInternal* rtcp_packet_transport_ = nullptr; | |
412 std::vector<std::pair<rtc::Socket::Option, int> > socket_options_; | 409 std::vector<std::pair<rtc::Socket::Option, int> > socket_options_; |
413 std::vector<std::pair<rtc::Socket::Option, int> > rtcp_socket_options_; | 410 std::vector<std::pair<rtc::Socket::Option, int> > rtcp_socket_options_; |
414 SrtpFilter srtp_filter_; | 411 SrtpFilter srtp_filter_; |
415 RtcpMuxFilter rtcp_mux_filter_; | 412 RtcpMuxFilter rtcp_mux_filter_; |
416 BundleFilter bundle_filter_; | 413 BundleFilter bundle_filter_; |
417 bool rtp_ready_to_send_ = false; | 414 bool rtp_ready_to_send_ = false; |
418 bool rtcp_ready_to_send_ = false; | 415 bool rtcp_ready_to_send_ = false; |
419 bool writable_ = false; | 416 bool writable_ = false; |
420 bool was_ever_writable_ = false; | 417 bool was_ever_writable_ = false; |
421 bool has_received_packet_ = false; | 418 bool has_received_packet_ = false; |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 // SetSendParameters. | 742 // SetSendParameters. |
746 DataSendParameters last_send_params_; | 743 DataSendParameters last_send_params_; |
747 // Last DataRecvParameters sent down to the media_channel() via | 744 // Last DataRecvParameters sent down to the media_channel() via |
748 // SetRecvParameters. | 745 // SetRecvParameters. |
749 DataRecvParameters last_recv_params_; | 746 DataRecvParameters last_recv_params_; |
750 }; | 747 }; |
751 | 748 |
752 } // namespace cricket | 749 } // namespace cricket |
753 | 750 |
754 #endif // WEBRTC_PC_CHANNEL_H_ | 751 #endif // WEBRTC_PC_CHANNEL_H_ |
OLD | NEW |