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

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

Issue 1844803002: Modify PeerConnection for end-to-end QuicDataChannel usage (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Sync to upstream after landing QUIC data channel and QUIC transport CLs Created 4 years, 7 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 int ice_backup_candidate_pair_ping_interval; // ms 283 int ice_backup_candidate_pair_ping_interval; // ms
284 ContinualGatheringPolicy continual_gathering_policy; 284 ContinualGatheringPolicy continual_gathering_policy;
285 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; 285 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates;
286 bool prioritize_most_likely_ice_candidate_pairs; 286 bool prioritize_most_likely_ice_candidate_pairs;
287 struct cricket::MediaConfig media_config; 287 struct cricket::MediaConfig media_config;
288 // Flags corresponding to values set by constraint flags. 288 // Flags corresponding to values set by constraint flags.
289 // rtc::Optional flags can be "missing", in which case the webrtc 289 // rtc::Optional flags can be "missing", in which case the webrtc
290 // default applies. 290 // default applies.
291 bool disable_ipv6; 291 bool disable_ipv6;
292 bool enable_rtp_data_channel; 292 bool enable_rtp_data_channel;
293 bool enable_quic;
293 rtc::Optional<int> screencast_min_bitrate; 294 rtc::Optional<int> screencast_min_bitrate;
294 rtc::Optional<bool> combined_audio_video_bwe; 295 rtc::Optional<bool> combined_audio_video_bwe;
295 rtc::Optional<bool> enable_dtls_srtp; 296 rtc::Optional<bool> enable_dtls_srtp;
296 RTCConfiguration() 297 RTCConfiguration()
297 : type(kAll), 298 : type(kAll),
298 bundle_policy(kBundlePolicyBalanced), 299 bundle_policy(kBundlePolicyBalanced),
299 rtcp_mux_policy(kRtcpMuxPolicyNegotiate), 300 rtcp_mux_policy(kRtcpMuxPolicyNegotiate),
300 tcp_candidate_policy(kTcpCandidatePolicyEnabled), 301 tcp_candidate_policy(kTcpCandidatePolicyEnabled),
301 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets), 302 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets),
302 audio_jitter_buffer_fast_accelerate(false), 303 audio_jitter_buffer_fast_accelerate(false),
303 ice_connection_receiving_timeout(kUndefined), 304 ice_connection_receiving_timeout(kUndefined),
304 ice_backup_candidate_pair_ping_interval(kUndefined), 305 ice_backup_candidate_pair_ping_interval(kUndefined),
305 continual_gathering_policy(GATHER_ONCE), 306 continual_gathering_policy(GATHER_ONCE),
306 prioritize_most_likely_ice_candidate_pairs(false), 307 prioritize_most_likely_ice_candidate_pairs(false),
307 disable_ipv6(false), 308 disable_ipv6(false),
308 enable_rtp_data_channel(false) {} 309 enable_rtp_data_channel(false),
310 enable_quic(false) {}
309 }; 311 };
310 312
311 struct RTCOfferAnswerOptions { 313 struct RTCOfferAnswerOptions {
312 static const int kUndefined = -1; 314 static const int kUndefined = -1;
313 static const int kMaxOfferToReceiveMedia = 1; 315 static const int kMaxOfferToReceiveMedia = 1;
314 316
315 // The default value for constraint offerToReceiveX:true. 317 // The default value for constraint offerToReceiveX:true.
316 static const int kOfferToReceiveMediaTrue = 1; 318 static const int kOfferToReceiveMediaTrue = 1;
317 319
318 int offer_to_receive_video; 320 int offer_to_receive_video;
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 CreatePeerConnectionFactory( 697 CreatePeerConnectionFactory(
696 rtc::Thread* worker_thread, 698 rtc::Thread* worker_thread,
697 rtc::Thread* signaling_thread, 699 rtc::Thread* signaling_thread,
698 AudioDeviceModule* default_adm, 700 AudioDeviceModule* default_adm,
699 cricket::WebRtcVideoEncoderFactory* encoder_factory, 701 cricket::WebRtcVideoEncoderFactory* encoder_factory,
700 cricket::WebRtcVideoDecoderFactory* decoder_factory); 702 cricket::WebRtcVideoDecoderFactory* decoder_factory);
701 703
702 } // namespace webrtc 704 } // namespace webrtc
703 705
704 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_ 706 #endif // WEBRTC_API_PEERCONNECTIONINTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/api/peerconnectionendtoend_unittest.cc ('k') | webrtc/api/test/peerconnectiontestwrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698