| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 public int audioJitterBufferMaxPackets; | 154 public int audioJitterBufferMaxPackets; |
| 155 public boolean audioJitterBufferFastAccelerate; | 155 public boolean audioJitterBufferFastAccelerate; |
| 156 public int iceConnectionReceivingTimeout; | 156 public int iceConnectionReceivingTimeout; |
| 157 public int iceBackupCandidatePairPingInterval; | 157 public int iceBackupCandidatePairPingInterval; |
| 158 public KeyType keyType; | 158 public KeyType keyType; |
| 159 public ContinualGatheringPolicy continualGatheringPolicy; | 159 public ContinualGatheringPolicy continualGatheringPolicy; |
| 160 public int iceCandidatePoolSize; | 160 public int iceCandidatePoolSize; |
| 161 public boolean pruneTurnPorts; | 161 public boolean pruneTurnPorts; |
| 162 public boolean presumeWritableWhenFullyRelayed; | 162 public boolean presumeWritableWhenFullyRelayed; |
| 163 public Integer iceCheckMinInterval; | 163 public Integer iceCheckMinInterval; |
| 164 public boolean disableIPv6OnWifi; |
| 164 | 165 |
| 165 public RTCConfiguration(List<IceServer> iceServers) { | 166 public RTCConfiguration(List<IceServer> iceServers) { |
| 166 iceTransportsType = IceTransportsType.ALL; | 167 iceTransportsType = IceTransportsType.ALL; |
| 167 bundlePolicy = BundlePolicy.BALANCED; | 168 bundlePolicy = BundlePolicy.BALANCED; |
| 168 rtcpMuxPolicy = RtcpMuxPolicy.REQUIRE; | 169 rtcpMuxPolicy = RtcpMuxPolicy.REQUIRE; |
| 169 tcpCandidatePolicy = TcpCandidatePolicy.ENABLED; | 170 tcpCandidatePolicy = TcpCandidatePolicy.ENABLED; |
| 170 candidateNetworkPolicy = candidateNetworkPolicy.ALL; | 171 candidateNetworkPolicy = candidateNetworkPolicy.ALL; |
| 171 this.iceServers = iceServers; | 172 this.iceServers = iceServers; |
| 172 audioJitterBufferMaxPackets = 50; | 173 audioJitterBufferMaxPackets = 50; |
| 173 audioJitterBufferFastAccelerate = false; | 174 audioJitterBufferFastAccelerate = false; |
| 174 iceConnectionReceivingTimeout = -1; | 175 iceConnectionReceivingTimeout = -1; |
| 175 iceBackupCandidatePairPingInterval = -1; | 176 iceBackupCandidatePairPingInterval = -1; |
| 176 keyType = KeyType.ECDSA; | 177 keyType = KeyType.ECDSA; |
| 177 continualGatheringPolicy = ContinualGatheringPolicy.GATHER_ONCE; | 178 continualGatheringPolicy = ContinualGatheringPolicy.GATHER_ONCE; |
| 178 iceCandidatePoolSize = 0; | 179 iceCandidatePoolSize = 0; |
| 179 pruneTurnPorts = false; | 180 pruneTurnPorts = false; |
| 180 presumeWritableWhenFullyRelayed = false; | 181 presumeWritableWhenFullyRelayed = false; |
| 181 iceCheckMinInterval = null; | 182 iceCheckMinInterval = null; |
| 183 disableIPv6OnWifi = false; |
| 182 } | 184 } |
| 183 }; | 185 }; |
| 184 | 186 |
| 185 private final List<MediaStream> localStreams; | 187 private final List<MediaStream> localStreams; |
| 186 private final long nativePeerConnection; | 188 private final long nativePeerConnection; |
| 187 private final long nativeObserver; | 189 private final long nativeObserver; |
| 188 private List<RtpSender> senders; | 190 private List<RtpSender> senders; |
| 189 private List<RtpReceiver> receivers; | 191 private List<RtpReceiver> receivers; |
| 190 | 192 |
| 191 PeerConnection(long nativePeerConnection, long nativeObserver) { | 193 PeerConnection(long nativePeerConnection, long nativeObserver) { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 private native RtpSender nativeCreateSender(String kind, String stream_id); | 333 private native RtpSender nativeCreateSender(String kind, String stream_id); |
| 332 | 334 |
| 333 private native List<RtpSender> nativeGetSenders(); | 335 private native List<RtpSender> nativeGetSenders(); |
| 334 | 336 |
| 335 private native List<RtpReceiver> nativeGetReceivers(); | 337 private native List<RtpReceiver> nativeGetReceivers(); |
| 336 | 338 |
| 337 private native boolean nativeStartRtcEventLog(int file_descriptor, int max_siz
e_bytes); | 339 private native boolean nativeStartRtcEventLog(int file_descriptor, int max_siz
e_bytes); |
| 338 | 340 |
| 339 private native void nativeStopRtcEventLog(); | 341 private native void nativeStopRtcEventLog(); |
| 340 } | 342 } |
| OLD | NEW |