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