| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 static const int kUndefined = -1; | 273 static const int kUndefined = -1; |
| 274 // Default maximum number of packets in the audio jitter buffer. | 274 // Default maximum number of packets in the audio jitter buffer. |
| 275 static const int kAudioJitterBufferMaxPackets = 50; | 275 static const int kAudioJitterBufferMaxPackets = 50; |
| 276 // TODO(pthatcher): Rename this ice_transport_type, but update | 276 // TODO(pthatcher): Rename this ice_transport_type, but update |
| 277 // Chromium at the same time. | 277 // Chromium at the same time. |
| 278 IceTransportsType type = kAll; | 278 IceTransportsType type = kAll; |
| 279 // TODO(pthatcher): Rename this ice_servers, but update Chromium | 279 // TODO(pthatcher): Rename this ice_servers, but update Chromium |
| 280 // at the same time. | 280 // at the same time. |
| 281 IceServers servers; | 281 IceServers servers; |
| 282 BundlePolicy bundle_policy = kBundlePolicyBalanced; | 282 BundlePolicy bundle_policy = kBundlePolicyBalanced; |
| 283 RtcpMuxPolicy rtcp_mux_policy = kRtcpMuxPolicyNegotiate; | 283 RtcpMuxPolicy rtcp_mux_policy = kRtcpMuxPolicyRequire; |
| 284 TcpCandidatePolicy tcp_candidate_policy = kTcpCandidatePolicyEnabled; | 284 TcpCandidatePolicy tcp_candidate_policy = kTcpCandidatePolicyEnabled; |
| 285 CandidateNetworkPolicy candidate_network_policy = | 285 CandidateNetworkPolicy candidate_network_policy = |
| 286 kCandidateNetworkPolicyAll; | 286 kCandidateNetworkPolicyAll; |
| 287 int audio_jitter_buffer_max_packets = kAudioJitterBufferMaxPackets; | 287 int audio_jitter_buffer_max_packets = kAudioJitterBufferMaxPackets; |
| 288 bool audio_jitter_buffer_fast_accelerate = false; | 288 bool audio_jitter_buffer_fast_accelerate = false; |
| 289 int ice_connection_receiving_timeout = kUndefined; // ms | 289 int ice_connection_receiving_timeout = kUndefined; // ms |
| 290 int ice_backup_candidate_pair_ping_interval = kUndefined; // ms | 290 int ice_backup_candidate_pair_ping_interval = kUndefined; // ms |
| 291 ContinualGatheringPolicy continual_gathering_policy = GATHER_ONCE; | 291 ContinualGatheringPolicy continual_gathering_policy = GATHER_ONCE; |
| 292 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; | 292 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; |
| 293 bool prioritize_most_likely_ice_candidate_pairs = false; | 293 bool prioritize_most_likely_ice_candidate_pairs = false; |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 722 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
| 723 cricket::WebRtcVideoDecoderFactory* decoder_factory) { | 723 cricket::WebRtcVideoDecoderFactory* decoder_factory) { |
| 724 return CreatePeerConnectionFactory( | 724 return CreatePeerConnectionFactory( |
| 725 worker_and_network_thread, worker_and_network_thread, signaling_thread, | 725 worker_and_network_thread, worker_and_network_thread, signaling_thread, |
| 726 default_adm, encoder_factory, decoder_factory); | 726 default_adm, encoder_factory, decoder_factory); |
| 727 } | 727 } |
| 728 | 728 |
| 729 } // namespace webrtc | 729 } // namespace webrtc |
| 730 | 730 |
| 731 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ | 731 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ |
| OLD | NEW |