Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: webrtc/api/peerconnectioninterface.h

Issue 1577233006: Implement Turn/Turn first logic for connection selection. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix test cases Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/api/webrtcsession.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 BundlePolicy bundle_policy; 235 BundlePolicy bundle_policy;
236 RtcpMuxPolicy rtcp_mux_policy; 236 RtcpMuxPolicy rtcp_mux_policy;
237 TcpCandidatePolicy tcp_candidate_policy; 237 TcpCandidatePolicy tcp_candidate_policy;
238 int audio_jitter_buffer_max_packets; 238 int audio_jitter_buffer_max_packets;
239 bool audio_jitter_buffer_fast_accelerate; 239 bool audio_jitter_buffer_fast_accelerate;
240 int ice_connection_receiving_timeout; // ms 240 int ice_connection_receiving_timeout; // ms
241 int ice_backup_candidate_pair_ping_interval; // ms 241 int ice_backup_candidate_pair_ping_interval; // ms
242 ContinualGatheringPolicy continual_gathering_policy; 242 ContinualGatheringPolicy continual_gathering_policy;
243 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; 243 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates;
244 bool disable_prerenderer_smoothing; 244 bool disable_prerenderer_smoothing;
245 bool prioritize_most_likely_ice_candidate_pairs;
245 RTCConfiguration() 246 RTCConfiguration()
246 : type(kAll), 247 : type(kAll),
247 bundle_policy(kBundlePolicyBalanced), 248 bundle_policy(kBundlePolicyBalanced),
248 rtcp_mux_policy(kRtcpMuxPolicyNegotiate), 249 rtcp_mux_policy(kRtcpMuxPolicyNegotiate),
249 tcp_candidate_policy(kTcpCandidatePolicyEnabled), 250 tcp_candidate_policy(kTcpCandidatePolicyEnabled),
250 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets), 251 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets),
251 audio_jitter_buffer_fast_accelerate(false), 252 audio_jitter_buffer_fast_accelerate(false),
252 ice_connection_receiving_timeout(kUndefined), 253 ice_connection_receiving_timeout(kUndefined),
253 ice_backup_candidate_pair_ping_interval(kUndefined), 254 ice_backup_candidate_pair_ping_interval(kUndefined),
254 continual_gathering_policy(GATHER_ONCE), 255 continual_gathering_policy(GATHER_ONCE),
255 disable_prerenderer_smoothing(false) {} 256 disable_prerenderer_smoothing(false),
257 prioritize_most_likely_ice_candidate_pairs(false) {}
256 }; 258 };
257 259
258 struct RTCOfferAnswerOptions { 260 struct RTCOfferAnswerOptions {
259 static const int kUndefined = -1; 261 static const int kUndefined = -1;
260 static const int kMaxOfferToReceiveMedia = 1; 262 static const int kMaxOfferToReceiveMedia = 1;
261 263
262 // The default value for constraint offerToReceiveX:true. 264 // The default value for constraint offerToReceiveX:true.
263 static const int kOfferToReceiveMediaTrue = 1; 265 static const int kOfferToReceiveMediaTrue = 1;
264 266
265 int offer_to_receive_video; 267 int offer_to_receive_video;
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 CreatePeerConnectionFactory( 598 CreatePeerConnectionFactory(
597 rtc::Thread* worker_thread, 599 rtc::Thread* worker_thread,
598 rtc::Thread* signaling_thread, 600 rtc::Thread* signaling_thread,
599 AudioDeviceModule* default_adm, 601 AudioDeviceModule* default_adm,
600 cricket::WebRtcVideoEncoderFactory* encoder_factory, 602 cricket::WebRtcVideoEncoderFactory* encoder_factory,
601 cricket::WebRtcVideoDecoderFactory* decoder_factory); 603 cricket::WebRtcVideoDecoderFactory* decoder_factory);
602 604
603 } // namespace webrtc 605 } // namespace webrtc
604 606
605 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ 607 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/webrtcsession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698