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

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

Issue 2089553002: Refactoring on QUIC (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Disable quic for review. Created 4 years, 6 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
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 int ice_backup_candidate_pair_ping_interval = kUndefined; // ms 289 int ice_backup_candidate_pair_ping_interval = kUndefined; // ms
290 ContinualGatheringPolicy continual_gathering_policy = GATHER_ONCE; 290 ContinualGatheringPolicy continual_gathering_policy = GATHER_ONCE;
291 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; 291 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates;
292 bool prioritize_most_likely_ice_candidate_pairs = false; 292 bool prioritize_most_likely_ice_candidate_pairs = false;
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 bool enable_quic = false;
299 rtc::Optional<int> screencast_min_bitrate; 300 rtc::Optional<int> screencast_min_bitrate;
300 rtc::Optional<bool> combined_audio_video_bwe; 301 rtc::Optional<bool> combined_audio_video_bwe;
301 rtc::Optional<bool> enable_dtls_srtp; 302 rtc::Optional<bool> enable_dtls_srtp;
302 int ice_candidate_pool_size = 0; 303 int ice_candidate_pool_size = 0;
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
(...skipping 412 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

Powered by Google App Engine
This is Rietveld 408576698