OLD | NEW |
---|---|
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
252 BundlePolicy bundle_policy; | 252 BundlePolicy bundle_policy; |
253 RtcpMuxPolicy rtcp_mux_policy; | 253 RtcpMuxPolicy rtcp_mux_policy; |
254 TcpCandidatePolicy tcp_candidate_policy; | 254 TcpCandidatePolicy tcp_candidate_policy; |
255 int audio_jitter_buffer_max_packets; | 255 int audio_jitter_buffer_max_packets; |
256 bool audio_jitter_buffer_fast_accelerate; | 256 bool audio_jitter_buffer_fast_accelerate; |
257 int ice_connection_receiving_timeout; // ms | 257 int ice_connection_receiving_timeout; // ms |
258 int ice_backup_candidate_pair_ping_interval; // ms | 258 int ice_backup_candidate_pair_ping_interval; // ms |
259 ContinualGatheringPolicy continual_gathering_policy; | 259 ContinualGatheringPolicy continual_gathering_policy; |
260 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; | 260 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; |
261 bool disable_prerenderer_smoothing; | 261 bool disable_prerenderer_smoothing; |
262 bool ping_most_likely_candidate_pair_first; | |
pthatcher1
2016/01/27 19:59:58
I better name might be prioritize_most_likely_ice_
guoweis_webrtc
2016/02/29 18:03:00
Done.
| |
262 RTCConfiguration() | 263 RTCConfiguration() |
263 : type(kAll), | 264 : type(kAll), |
264 bundle_policy(kBundlePolicyBalanced), | 265 bundle_policy(kBundlePolicyBalanced), |
265 rtcp_mux_policy(kRtcpMuxPolicyNegotiate), | 266 rtcp_mux_policy(kRtcpMuxPolicyNegotiate), |
266 tcp_candidate_policy(kTcpCandidatePolicyEnabled), | 267 tcp_candidate_policy(kTcpCandidatePolicyEnabled), |
267 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets), | 268 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets), |
268 audio_jitter_buffer_fast_accelerate(false), | 269 audio_jitter_buffer_fast_accelerate(false), |
269 ice_connection_receiving_timeout(kUndefined), | 270 ice_connection_receiving_timeout(kUndefined), |
270 ice_backup_candidate_pair_ping_interval(kUndefined), | 271 ice_backup_candidate_pair_ping_interval(kUndefined), |
271 continual_gathering_policy(GATHER_ONCE), | 272 continual_gathering_policy(GATHER_ONCE), |
272 disable_prerenderer_smoothing(false) {} | 273 disable_prerenderer_smoothing(false), |
274 ping_most_likely_candidate_pair_first(false) {} | |
273 }; | 275 }; |
274 | 276 |
275 struct RTCOfferAnswerOptions { | 277 struct RTCOfferAnswerOptions { |
276 static const int kUndefined = -1; | 278 static const int kUndefined = -1; |
277 static const int kMaxOfferToReceiveMedia = 1; | 279 static const int kMaxOfferToReceiveMedia = 1; |
278 | 280 |
279 // The default value for constraint offerToReceiveX:true. | 281 // The default value for constraint offerToReceiveX:true. |
280 static const int kOfferToReceiveMediaTrue = 1; | 282 static const int kOfferToReceiveMediaTrue = 1; |
281 | 283 |
282 int offer_to_receive_video; | 284 int offer_to_receive_video; |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
603 CreatePeerConnectionFactory( | 605 CreatePeerConnectionFactory( |
604 rtc::Thread* worker_thread, | 606 rtc::Thread* worker_thread, |
605 rtc::Thread* signaling_thread, | 607 rtc::Thread* signaling_thread, |
606 AudioDeviceModule* default_adm, | 608 AudioDeviceModule* default_adm, |
607 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 609 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
608 cricket::WebRtcVideoDecoderFactory* decoder_factory); | 610 cricket::WebRtcVideoDecoderFactory* decoder_factory); |
609 | 611 |
610 } // namespace webrtc | 612 } // namespace webrtc |
611 | 613 |
612 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ | 614 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ |
OLD | NEW |