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

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

Issue 2985653003: Add "max_ipv6_networks" field to RTCConfiguration. (Closed)
Patch Set: Rebase Created 3 years, 4 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/pc/peerconnection.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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 // TODO(deadbeef): Remove this? IPv6 support has long stopped being 345 // TODO(deadbeef): Remove this? IPv6 support has long stopped being
346 // experimental 346 // experimental
347 bool disable_ipv6 = false; 347 bool disable_ipv6 = false;
348 348
349 // If set to true, don't gather IPv6 ICE candidates on Wi-Fi. 349 // If set to true, don't gather IPv6 ICE candidates on Wi-Fi.
350 // Only intended to be used on specific devices. Certain phones disable IPv6 350 // Only intended to be used on specific devices. Certain phones disable IPv6
351 // when the screen is turned off and it would be better to just disable the 351 // when the screen is turned off and it would be better to just disable the
352 // IPv6 ICE candidates on Wi-Fi in those cases. 352 // IPv6 ICE candidates on Wi-Fi in those cases.
353 bool disable_ipv6_on_wifi = false; 353 bool disable_ipv6_on_wifi = false;
354 354
355 // By default, the PeerConnection will use a limited number of IPv6 network
356 // interfaces, in order to avoid too many ICE candidate pairs being created
357 // and delaying ICE completion.
358 //
359 // Can be set to INT_MAX to effectively disable the limit.
360 int max_ipv6_networks = cricket::kDefaultMaxIPv6Networks;
361
355 // If set to true, use RTP data channels instead of SCTP. 362 // If set to true, use RTP data channels instead of SCTP.
356 // TODO(deadbeef): Remove this. We no longer commit to supporting RTP data 363 // TODO(deadbeef): Remove this. We no longer commit to supporting RTP data
357 // channels, though some applications are still working on moving off of 364 // channels, though some applications are still working on moving off of
358 // them. 365 // them.
359 bool enable_rtp_data_channel = false; 366 bool enable_rtp_data_channel = false;
360 367
361 // Minimum bitrate at which screencast video tracks will be encoded at. 368 // Minimum bitrate at which screencast video tracks will be encoded at.
362 // This means adding padding bits up to this bitrate, which can help 369 // This means adding padding bits up to this bitrate, which can help
363 // when switching from a static scene to one with motion. 370 // when switching from a static scene to one with motion.
364 rtc::Optional<int> screencast_min_bitrate; 371 rtc::Optional<int> screencast_min_bitrate;
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 cricket::WebRtcVideoEncoderFactory* video_encoder_factory, 1212 cricket::WebRtcVideoEncoderFactory* video_encoder_factory,
1206 cricket::WebRtcVideoDecoderFactory* video_decoder_factory, 1213 cricket::WebRtcVideoDecoderFactory* video_decoder_factory,
1207 rtc::scoped_refptr<AudioMixer> audio_mixer, 1214 rtc::scoped_refptr<AudioMixer> audio_mixer,
1208 std::unique_ptr<cricket::MediaEngineInterface> media_engine, 1215 std::unique_ptr<cricket::MediaEngineInterface> media_engine,
1209 std::unique_ptr<CallFactoryInterface> call_factory, 1216 std::unique_ptr<CallFactoryInterface> call_factory,
1210 std::unique_ptr<RtcEventLogFactoryInterface> event_log_factory); 1217 std::unique_ptr<RtcEventLogFactoryInterface> event_log_factory);
1211 1218
1212 } // namespace webrtc 1219 } // namespace webrtc
1213 1220
1214 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ 1221 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/pc/peerconnection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698