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

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

Issue 2670053002: Allow applications to limit the ICE check rate through RTCConfiguration (Closed)
Patch Set: CR feedback Created 3 years, 10 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/p2p/base/jseptransport.h » ('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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 bool prune_turn_ports = false; 373 bool prune_turn_ports = false;
374 // If set to true, this means the ICE transport should presume TURN-to-TURN 374 // If set to true, this means the ICE transport should presume TURN-to-TURN
375 // candidate pairs will succeed, even before a binding response is received. 375 // candidate pairs will succeed, even before a binding response is received.
376 bool presume_writable_when_fully_relayed = false; 376 bool presume_writable_when_fully_relayed = false;
377 // If true, "renomination" will be added to the ice options in the transport 377 // If true, "renomination" will be added to the ice options in the transport
378 // description. 378 // description.
379 bool enable_ice_renomination = false; 379 bool enable_ice_renomination = false;
380 // If true, ICE role is redetermined when peerconnection sets a local 380 // If true, ICE role is redetermined when peerconnection sets a local
381 // transport description that indicates an ICE restart. 381 // transport description that indicates an ICE restart.
382 bool redetermine_role_on_ice_restart = true; 382 bool redetermine_role_on_ice_restart = true;
383 // If set, the min interval (max rate) at which we will send ICE checks
384 // (STUN pings), in milliseconds.
385 rtc::Optional<int> ice_check_min_interval;
383 // 386 //
384 // Don't forget to update operator== if adding something. 387 // Don't forget to update operator== if adding something.
385 // 388 //
386 }; 389 };
387 390
388 struct RTCOfferAnswerOptions { 391 struct RTCOfferAnswerOptions {
389 static const int kUndefined = -1; 392 static const int kUndefined = -1;
390 static const int kMaxOfferToReceiveMedia = 1; 393 static const int kMaxOfferToReceiveMedia = 1;
391 394
392 // The default value for constraint offerToReceiveX:true. 395 // The default value for constraint offerToReceiveX:true.
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 cricket::WebRtcVideoEncoderFactory* encoder_factory, 943 cricket::WebRtcVideoEncoderFactory* encoder_factory,
941 cricket::WebRtcVideoDecoderFactory* decoder_factory) { 944 cricket::WebRtcVideoDecoderFactory* decoder_factory) {
942 return CreatePeerConnectionFactory( 945 return CreatePeerConnectionFactory(
943 worker_and_network_thread, worker_and_network_thread, signaling_thread, 946 worker_and_network_thread, worker_and_network_thread, signaling_thread,
944 default_adm, encoder_factory, decoder_factory); 947 default_adm, encoder_factory, decoder_factory);
945 } 948 }
946 949
947 } // namespace webrtc 950 } // namespace webrtc
948 951
949 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ 952 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/p2p/base/jseptransport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698