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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
864 // loopback interfaces. | 864 // loopback interfaces. |
865 int network_ignore_mask = rtc::kDefaultNetworkIgnoreMask; | 865 int network_ignore_mask = rtc::kDefaultNetworkIgnoreMask; |
866 | 866 |
867 // Sets the maximum supported protocol version. The highest version | 867 // Sets the maximum supported protocol version. The highest version |
868 // supported by both ends will be used for the connection, i.e. if one | 868 // supported by both ends will be used for the connection, i.e. if one |
869 // party supports DTLS 1.0 and the other DTLS 1.2, DTLS 1.0 will be used. | 869 // party supports DTLS 1.0 and the other DTLS 1.2, DTLS 1.0 will be used. |
870 rtc::SSLProtocolVersion ssl_max_version = rtc::SSL_PROTOCOL_DTLS_12; | 870 rtc::SSLProtocolVersion ssl_max_version = rtc::SSL_PROTOCOL_DTLS_12; |
871 | 871 |
872 // Sets crypto related options, e.g. enabled cipher suites. | 872 // Sets crypto related options, e.g. enabled cipher suites. |
873 rtc::CryptoOptions crypto_options; | 873 rtc::CryptoOptions crypto_options; |
874 | |
875 // If set to true, encrypted RTP header extensions as defined in RFC 6904 | |
876 // will be negotiated. They will be only used if both peers support ihem. | |
pthatcher1
2017/03/21 07:07:06
ihem => them
joachim
2017/03/23 00:04:32
Done.
| |
877 bool enable_rtp_header_encryption = false; | |
pthatcher1
2017/03/21 07:07:06
I think enable_encrypted_rtp_header_extensions wou
Taylor Brandstetter
2017/03/22 18:00:10
Is there a reason this is added here, and not in R
joachim
2017/03/23 00:04:32
Done.
joachim
2017/03/23 00:04:32
I assumed that it would more be a general option l
| |
874 }; | 878 }; |
875 | 879 |
876 virtual void SetOptions(const Options& options) = 0; | 880 virtual void SetOptions(const Options& options) = 0; |
877 | 881 |
878 virtual rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection( | 882 virtual rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection( |
879 const PeerConnectionInterface::RTCConfiguration& configuration, | 883 const PeerConnectionInterface::RTCConfiguration& configuration, |
880 std::unique_ptr<cricket::PortAllocator> allocator, | 884 std::unique_ptr<cricket::PortAllocator> allocator, |
881 std::unique_ptr<rtc::RTCCertificateGeneratorInterface> cert_generator, | 885 std::unique_ptr<rtc::RTCCertificateGeneratorInterface> cert_generator, |
882 PeerConnectionObserver* observer) = 0; | 886 PeerConnectionObserver* observer) = 0; |
883 | 887 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1096 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 1100 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
1097 cricket::WebRtcVideoDecoderFactory* decoder_factory) { | 1101 cricket::WebRtcVideoDecoderFactory* decoder_factory) { |
1098 return CreatePeerConnectionFactory( | 1102 return CreatePeerConnectionFactory( |
1099 worker_and_network_thread, worker_and_network_thread, signaling_thread, | 1103 worker_and_network_thread, worker_and_network_thread, signaling_thread, |
1100 default_adm, encoder_factory, decoder_factory); | 1104 default_adm, encoder_factory, decoder_factory); |
1101 } | 1105 } |
1102 | 1106 |
1103 } // namespace webrtc | 1107 } // namespace webrtc |
1104 | 1108 |
1105 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ | 1109 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ |
OLD | NEW |