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

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

Issue 2093623004: Add config to prune TURN ports (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Partially disable the test TestEachInterfaceHasItsOwnTurnPorts Created 4 years, 5 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 | « webrtc/api/peerconnection.cc ('k') | webrtc/p2p/base/p2ptransportchannel.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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 struct cricket::MediaConfig media_config; 293 struct cricket::MediaConfig media_config;
294 // Flags corresponding to values set by constraint flags. 294 // Flags corresponding to values set by constraint flags.
295 // rtc::Optional flags can be "missing", in which case the webrtc 295 // rtc::Optional flags can be "missing", in which case the webrtc
296 // default applies. 296 // default applies.
297 bool disable_ipv6 = false; 297 bool disable_ipv6 = false;
298 bool enable_rtp_data_channel = false; 298 bool enable_rtp_data_channel = false;
299 rtc::Optional<int> screencast_min_bitrate; 299 rtc::Optional<int> screencast_min_bitrate;
300 rtc::Optional<bool> combined_audio_video_bwe; 300 rtc::Optional<bool> combined_audio_video_bwe;
301 rtc::Optional<bool> enable_dtls_srtp; 301 rtc::Optional<bool> enable_dtls_srtp;
302 int ice_candidate_pool_size = 0; 302 int ice_candidate_pool_size = 0;
303 bool prune_turn_ports = false;
303 }; 304 };
304 305
305 struct RTCOfferAnswerOptions { 306 struct RTCOfferAnswerOptions {
306 static const int kUndefined = -1; 307 static const int kUndefined = -1;
307 static const int kMaxOfferToReceiveMedia = 1; 308 static const int kMaxOfferToReceiveMedia = 1;
308 309
309 // The default value for constraint offerToReceiveX:true. 310 // The default value for constraint offerToReceiveX:true.
310 static const int kOfferToReceiveMediaTrue = 1; 311 static const int kOfferToReceiveMediaTrue = 1;
311 312
312 int offer_to_receive_video; 313 int offer_to_receive_video;
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 cricket::WebRtcVideoEncoderFactory* encoder_factory, 722 cricket::WebRtcVideoEncoderFactory* encoder_factory,
722 cricket::WebRtcVideoDecoderFactory* decoder_factory) { 723 cricket::WebRtcVideoDecoderFactory* decoder_factory) {
723 return CreatePeerConnectionFactory( 724 return CreatePeerConnectionFactory(
724 worker_and_network_thread, worker_and_network_thread, signaling_thread, 725 worker_and_network_thread, worker_and_network_thread, signaling_thread,
725 default_adm, encoder_factory, decoder_factory); 726 default_adm, encoder_factory, decoder_factory);
726 } 727 }
727 728
728 } // namespace webrtc 729 } // namespace webrtc
729 730
730 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ 731 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/api/peerconnection.cc ('k') | webrtc/p2p/base/p2ptransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698