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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 int ice_backup_candidate_pair_ping_interval = kUndefined; // ms | 289 int ice_backup_candidate_pair_ping_interval = kUndefined; // ms |
290 ContinualGatheringPolicy continual_gathering_policy = GATHER_ONCE; | 290 ContinualGatheringPolicy continual_gathering_policy = GATHER_ONCE; |
291 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; | 291 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; |
292 bool prioritize_most_likely_ice_candidate_pairs = false; | 292 bool prioritize_most_likely_ice_candidate_pairs = false; |
293 struct cricket::MediaConfig media_config; | 293 struct cricket::MediaConfig media_config; |
294 // Flags corresponding to values set by constraint flags. | 294 // Flags corresponding to values set by constraint flags. |
295 // rtc::Optional flags can be "missing", in which case the webrtc | 295 // rtc::Optional flags can be "missing", in which case the webrtc |
296 // default applies. | 296 // default applies. |
297 bool disable_ipv6 = false; | 297 bool disable_ipv6 = false; |
298 bool enable_rtp_data_channel = false; | 298 bool enable_rtp_data_channel = false; |
| 299 bool enable_quic = false; |
299 rtc::Optional<int> screencast_min_bitrate; | 300 rtc::Optional<int> screencast_min_bitrate; |
300 rtc::Optional<bool> combined_audio_video_bwe; | 301 rtc::Optional<bool> combined_audio_video_bwe; |
301 rtc::Optional<bool> enable_dtls_srtp; | 302 rtc::Optional<bool> enable_dtls_srtp; |
302 int ice_candidate_pool_size = 0; | 303 int ice_candidate_pool_size = 0; |
303 bool prune_turn_ports = false; | 304 bool prune_turn_ports = false; |
304 // If set to true, this means the ICE transport should presume TURN-to-TURN | 305 // If set to true, this means the ICE transport should presume TURN-to-TURN |
305 // candidate pairs will succeed, even before a binding response is received. | 306 // candidate pairs will succeed, even before a binding response is received. |
306 bool presume_writable_when_fully_relayed = false; | 307 bool presume_writable_when_fully_relayed = false; |
307 }; | 308 }; |
308 | 309 |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 739 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
739 cricket::WebRtcVideoDecoderFactory* decoder_factory) { | 740 cricket::WebRtcVideoDecoderFactory* decoder_factory) { |
740 return CreatePeerConnectionFactory( | 741 return CreatePeerConnectionFactory( |
741 worker_and_network_thread, worker_and_network_thread, signaling_thread, | 742 worker_and_network_thread, worker_and_network_thread, signaling_thread, |
742 default_adm, encoder_factory, decoder_factory); | 743 default_adm, encoder_factory, decoder_factory); |
743 } | 744 } |
744 | 745 |
745 } // namespace webrtc | 746 } // namespace webrtc |
746 | 747 |
747 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ | 748 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ |
OLD | NEW |