| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 // at the same time. | 249 // at the same time. |
| 250 IceServers servers; | 250 IceServers servers; |
| 251 BundlePolicy bundle_policy; | 251 BundlePolicy bundle_policy; |
| 252 RtcpMuxPolicy rtcp_mux_policy; | 252 RtcpMuxPolicy rtcp_mux_policy; |
| 253 TcpCandidatePolicy tcp_candidate_policy; | 253 TcpCandidatePolicy tcp_candidate_policy; |
| 254 int audio_jitter_buffer_max_packets; | 254 int audio_jitter_buffer_max_packets; |
| 255 bool audio_jitter_buffer_fast_accelerate; | 255 bool audio_jitter_buffer_fast_accelerate; |
| 256 int ice_connection_receiving_timeout; | 256 int ice_connection_receiving_timeout; |
| 257 ContinualGatheringPolicy continual_gathering_policy; | 257 ContinualGatheringPolicy continual_gathering_policy; |
| 258 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; | 258 std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; |
| 259 | 259 bool disable_prerenderer_smoothing; |
| 260 RTCConfiguration() | 260 RTCConfiguration() |
| 261 : type(kAll), | 261 : type(kAll), |
| 262 bundle_policy(kBundlePolicyBalanced), | 262 bundle_policy(kBundlePolicyBalanced), |
| 263 rtcp_mux_policy(kRtcpMuxPolicyNegotiate), | 263 rtcp_mux_policy(kRtcpMuxPolicyNegotiate), |
| 264 tcp_candidate_policy(kTcpCandidatePolicyEnabled), | 264 tcp_candidate_policy(kTcpCandidatePolicyEnabled), |
| 265 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets), | 265 audio_jitter_buffer_max_packets(kAudioJitterBufferMaxPackets), |
| 266 audio_jitter_buffer_fast_accelerate(false), | 266 audio_jitter_buffer_fast_accelerate(false), |
| 267 ice_connection_receiving_timeout(kUndefined), | 267 ice_connection_receiving_timeout(kUndefined), |
| 268 continual_gathering_policy(GATHER_ONCE) {} | 268 continual_gathering_policy(GATHER_ONCE), |
| 269 disable_prerenderer_smoothing(false) {} |
| 269 }; | 270 }; |
| 270 | 271 |
| 271 struct RTCOfferAnswerOptions { | 272 struct RTCOfferAnswerOptions { |
| 272 static const int kUndefined = -1; | 273 static const int kUndefined = -1; |
| 273 static const int kMaxOfferToReceiveMedia = 1; | 274 static const int kMaxOfferToReceiveMedia = 1; |
| 274 | 275 |
| 275 // The default value for constraint offerToReceiveX:true. | 276 // The default value for constraint offerToReceiveX:true. |
| 276 static const int kOfferToReceiveMediaTrue = 1; | 277 static const int kOfferToReceiveMediaTrue = 1; |
| 277 | 278 |
| 278 int offer_to_receive_video; | 279 int offer_to_receive_video; |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 CreatePeerConnectionFactory( | 655 CreatePeerConnectionFactory( |
| 655 rtc::Thread* worker_thread, | 656 rtc::Thread* worker_thread, |
| 656 rtc::Thread* signaling_thread, | 657 rtc::Thread* signaling_thread, |
| 657 AudioDeviceModule* default_adm, | 658 AudioDeviceModule* default_adm, |
| 658 cricket::WebRtcVideoEncoderFactory* encoder_factory, | 659 cricket::WebRtcVideoEncoderFactory* encoder_factory, |
| 659 cricket::WebRtcVideoDecoderFactory* decoder_factory); | 660 cricket::WebRtcVideoDecoderFactory* decoder_factory); |
| 660 | 661 |
| 661 } // namespace webrtc | 662 } // namespace webrtc |
| 662 | 663 |
| 663 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ | 664 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ |
| OLD | NEW |