OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2013 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 public int iceBackupCandidatePairPingInterval; | 139 public int iceBackupCandidatePairPingInterval; |
140 public KeyType keyType; | 140 public KeyType keyType; |
141 public ContinualGatheringPolicy continualGatheringPolicy; | 141 public ContinualGatheringPolicy continualGatheringPolicy; |
142 public int iceCandidatePoolSize; | 142 public int iceCandidatePoolSize; |
143 public boolean pruneTurnPorts; | 143 public boolean pruneTurnPorts; |
144 public boolean presumeWritableWhenFullyRelayed; | 144 public boolean presumeWritableWhenFullyRelayed; |
145 | 145 |
146 public RTCConfiguration(List<IceServer> iceServers) { | 146 public RTCConfiguration(List<IceServer> iceServers) { |
147 iceTransportsType = IceTransportsType.ALL; | 147 iceTransportsType = IceTransportsType.ALL; |
148 bundlePolicy = BundlePolicy.BALANCED; | 148 bundlePolicy = BundlePolicy.BALANCED; |
149 rtcpMuxPolicy = RtcpMuxPolicy.NEGOTIATE; | 149 rtcpMuxPolicy = RtcpMuxPolicy.REQUIRE; |
150 tcpCandidatePolicy = TcpCandidatePolicy.ENABLED; | 150 tcpCandidatePolicy = TcpCandidatePolicy.ENABLED; |
151 candidateNetworkPolicy = candidateNetworkPolicy.ALL; | 151 candidateNetworkPolicy = candidateNetworkPolicy.ALL; |
152 this.iceServers = iceServers; | 152 this.iceServers = iceServers; |
153 audioJitterBufferMaxPackets = 50; | 153 audioJitterBufferMaxPackets = 50; |
154 audioJitterBufferFastAccelerate = false; | 154 audioJitterBufferFastAccelerate = false; |
155 iceConnectionReceivingTimeout = -1; | 155 iceConnectionReceivingTimeout = -1; |
156 iceBackupCandidatePairPingInterval = -1; | 156 iceBackupCandidatePairPingInterval = -1; |
157 keyType = KeyType.ECDSA; | 157 keyType = KeyType.ECDSA; |
158 continualGatheringPolicy = ContinualGatheringPolicy.GATHER_ONCE; | 158 continualGatheringPolicy = ContinualGatheringPolicy.GATHER_ONCE; |
159 iceCandidatePoolSize = 0; | 159 iceCandidatePoolSize = 0; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 private native RtpSender nativeCreateSender(String kind, String stream_id); | 307 private native RtpSender nativeCreateSender(String kind, String stream_id); |
308 | 308 |
309 private native List<RtpSender> nativeGetSenders(); | 309 private native List<RtpSender> nativeGetSenders(); |
310 | 310 |
311 private native List<RtpReceiver> nativeGetReceivers(); | 311 private native List<RtpReceiver> nativeGetReceivers(); |
312 | 312 |
313 private native boolean nativeStartRtcEventLog(int file_descriptor, int max_siz
e_bytes); | 313 private native boolean nativeStartRtcEventLog(int file_descriptor, int max_siz
e_bytes); |
314 | 314 |
315 private native void nativeStopRtcEventLog(); | 315 private native void nativeStopRtcEventLog(); |
316 } | 316 } |
OLD | NEW |