OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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 |
11 #import "RTCConfiguration.h" | 11 #import "RTCConfiguration+Private.h" |
12 | 12 |
13 #include <memory> | 13 #include <memory> |
14 | 14 |
| 15 #import "RTCIceServer+Private.h" |
| 16 #import "WebRTC/RTCLogging.h" |
| 17 |
15 #include "webrtc/base/sslidentity.h" | 18 #include "webrtc/base/sslidentity.h" |
16 | 19 |
17 #import "webrtc/api/objc/RTCConfiguration+Private.h" | |
18 #import "webrtc/api/objc/RTCIceServer+Private.h" | |
19 #import "webrtc/base/objc/RTCLogging.h" | |
20 | |
21 @implementation RTCConfiguration | 20 @implementation RTCConfiguration |
22 | 21 |
23 @synthesize iceServers = _iceServers; | 22 @synthesize iceServers = _iceServers; |
24 @synthesize iceTransportPolicy = _iceTransportPolicy; | 23 @synthesize iceTransportPolicy = _iceTransportPolicy; |
25 @synthesize bundlePolicy = _bundlePolicy; | 24 @synthesize bundlePolicy = _bundlePolicy; |
26 @synthesize rtcpMuxPolicy = _rtcpMuxPolicy; | 25 @synthesize rtcpMuxPolicy = _rtcpMuxPolicy; |
27 @synthesize tcpCandidatePolicy = _tcpCandidatePolicy; | 26 @synthesize tcpCandidatePolicy = _tcpCandidatePolicy; |
28 @synthesize audioJitterBufferMaxPackets = _audioJitterBufferMaxPackets; | 27 @synthesize audioJitterBufferMaxPackets = _audioJitterBufferMaxPackets; |
29 @synthesize iceConnectionReceivingTimeout = _iceConnectionReceivingTimeout; | 28 @synthesize iceConnectionReceivingTimeout = _iceConnectionReceivingTimeout; |
30 @synthesize iceBackupCandidatePairPingInterval = | 29 @synthesize iceBackupCandidatePairPingInterval = |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 + (NSString *)stringForTcpCandidatePolicy:(RTCTcpCandidatePolicy)policy { | 228 + (NSString *)stringForTcpCandidatePolicy:(RTCTcpCandidatePolicy)policy { |
230 switch (policy) { | 229 switch (policy) { |
231 case RTCTcpCandidatePolicyEnabled: | 230 case RTCTcpCandidatePolicyEnabled: |
232 return @"TCP_ENABLED"; | 231 return @"TCP_ENABLED"; |
233 case RTCTcpCandidatePolicyDisabled: | 232 case RTCTcpCandidatePolicyDisabled: |
234 return @"TCP_DISABLED"; | 233 return @"TCP_DISABLED"; |
235 } | 234 } |
236 } | 235 } |
237 | 236 |
238 @end | 237 @end |
OLD | NEW |