Chromium Code Reviews| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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. | |
|
Taylor Brandstetter
2017/02/02 07:03:55
Nit: The variable could be named in milliseconds (
skvlad
2017/02/02 08:51:24
None of the other timeout/interval parameters are.
Taylor Brandstetter
2017/02/02 18:16:01
Nah, consistency is better.
| |
| 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 Loading... | |
| 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_ |
| OLD | NEW |