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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 IceServers servers; | 238 IceServers servers; |
239 // A localhost candidate is signaled whenever a candidate with the any | 239 // A localhost candidate is signaled whenever a candidate with the any |
240 // address is allocated. | 240 // address is allocated. |
241 bool enable_localhost_ice_candidate; | 241 bool enable_localhost_ice_candidate; |
242 BundlePolicy bundle_policy; | 242 BundlePolicy bundle_policy; |
243 RtcpMuxPolicy rtcp_mux_policy; | 243 RtcpMuxPolicy rtcp_mux_policy; |
244 TcpCandidatePolicy tcp_candidate_policy; | 244 TcpCandidatePolicy tcp_candidate_policy; |
245 int audio_jitter_buffer_max_packets; | 245 int audio_jitter_buffer_max_packets; |
246 bool audio_jitter_buffer_fast_accelerate; | 246 bool audio_jitter_buffer_fast_accelerate; |
247 int ice_connection_receiving_timeout; | 247 int ice_connection_receiving_timeout; |
| 248 bool ice_continue_getting_ports; |
248 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; | 249 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; |
249 | 250 |
250 RTCConfiguration() | 251 RTCConfiguration() |
251 : type(kAll), | 252 : type(kAll), |
252 enable_localhost_ice_candidate(false), | 253 enable_localhost_ice_candidate(false), |
253 bundle_policy(kBundlePolicyBalanced), | 254 bundle_policy(kBundlePolicyBalanced), |
254 rtcp_mux_policy(kRtcpMuxPolicyNegotiate), | 255 rtcp_mux_policy(kRtcpMuxPolicyNegotiate), |
255 tcp_candidate_policy(kTcpCandidatePolicyEnabled), | 256 tcp_candidate_policy(kTcpCandidatePolicyEnabled), |
256 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets), | 257 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets), |
257 audio_jitter_buffer_fast_accelerate(false), | 258 audio_jitter_buffer_fast_accelerate(false), |
258 ice_connection_receiving_timeout(kUndefined) {} | 259 ice_connection_receiving_timeout(kUndefined), |
| 260 ice_continue_getting_ports(false) {} |
259 }; | 261 }; |
260 | 262 |
261 struct RTCOfferAnswerOptions { | 263 struct RTCOfferAnswerOptions { |
262 static const int kUndefined = -1; | 264 static const int kUndefined = -1; |
263 static const int kMaxOfferToReceiveMedia = 1; | 265 static const int kMaxOfferToReceiveMedia = 1; |
264 | 266 |
265 // The default value for constraint offerToReceiveX:true. | 267 // The default value for constraint offerToReceiveX:true. |
266 static const int kOfferToReceiveMediaTrue = 1; | 268 static const int kOfferToReceiveMediaTrue = 1; |
267 | 269 |
268 int offer_to_receive_video; | 270 int offer_to_receive_video; |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 CreatePeerConnectionFactory( | 600 CreatePeerConnectionFactory( |
599 rtc::Thread* worker_thread, | 601 rtc::Thread* worker_thread, |
600 rtc::Thread* signaling_thread, | 602 rtc::Thread* signaling_thread, |
601 AudioDeviceModule* default_adm, | 603 AudioDeviceModule* default_adm, |
602 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 604 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
603 cricket::WebRtcVideoDecoderFactory* decoder_factory); | 605 cricket::WebRtcVideoDecoderFactory* decoder_factory); |
604 | 606 |
605 } // namespace webrtc | 607 } // namespace webrtc |
606 | 608 |
607 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ | 609 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ |
OLD | NEW |