| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 // | 325 // |
| 326 // rtc::Optional fields can be "missing", in which case the implementation | 326 // rtc::Optional fields can be "missing", in which case the implementation |
| 327 // default will be used. | 327 // default will be used. |
| 328 ////////////////////////////////////////////////////////////////////////// | 328 ////////////////////////////////////////////////////////////////////////// |
| 329 | 329 |
| 330 // If set to true, don't gather IPv6 ICE candidates. | 330 // If set to true, don't gather IPv6 ICE candidates. |
| 331 // TODO(deadbeef): Remove this? IPv6 support has long stopped being | 331 // TODO(deadbeef): Remove this? IPv6 support has long stopped being |
| 332 // experimental | 332 // experimental |
| 333 bool disable_ipv6 = false; | 333 bool disable_ipv6 = false; |
| 334 | 334 |
| 335 // If set to true, don't gather IPv6 ICE candidates on Wi-Fi. |
| 336 // Only intended to be used on specific devices. Certain phones disable IPv6 |
| 337 // when the screen is turned off and it would be better to just disable the |
| 338 // IPv6 ICE candidates on Wi-Fi in those cases. |
| 339 bool disable_ipv6_on_wifi = false; |
| 340 |
| 335 // If set to true, use RTP data channels instead of SCTP. | 341 // If set to true, use RTP data channels instead of SCTP. |
| 336 // TODO(deadbeef): Remove this. We no longer commit to supporting RTP data | 342 // TODO(deadbeef): Remove this. We no longer commit to supporting RTP data |
| 337 // channels, though some applications are still working on moving off of | 343 // channels, though some applications are still working on moving off of |
| 338 // them. | 344 // them. |
| 339 bool enable_rtp_data_channel = false; | 345 bool enable_rtp_data_channel = false; |
| 340 | 346 |
| 341 // Minimum bitrate at which screencast video tracks will be encoded at. | 347 // Minimum bitrate at which screencast video tracks will be encoded at. |
| 342 // This means adding padding bits up to this bitrate, which can help | 348 // This means adding padding bits up to this bitrate, which can help |
| 343 // when switching from a static scene to one with motion. | 349 // when switching from a static scene to one with motion. |
| 344 rtc::Optional<int> screencast_min_bitrate; | 350 rtc::Optional<int> screencast_min_bitrate; |
| (...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 1109 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
| 1104 cricket::WebRtcVideoDecoderFactory* decoder_factory) { | 1110 cricket::WebRtcVideoDecoderFactory* decoder_factory) { |
| 1105 return CreatePeerConnectionFactory( | 1111 return CreatePeerConnectionFactory( |
| 1106 worker_and_network_thread, worker_and_network_thread, signaling_thread, | 1112 worker_and_network_thread, worker_and_network_thread, signaling_thread, |
| 1107 default_adm, encoder_factory, decoder_factory); | 1113 default_adm, encoder_factory, decoder_factory); |
| 1108 } | 1114 } |
| 1109 | 1115 |
| 1110 } // namespace webrtc | 1116 } // namespace webrtc |
| 1111 | 1117 |
| 1112 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ | 1118 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ |
| OLD | NEW |