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 <Foundation/Foundation.h> | 11 #import <Foundation/Foundation.h> |
12 | 12 |
13 #import "webrtc/base/objc/RTCMacros.h" | 13 #import <WebRTC/RTCMacros.h> |
14 | 14 |
15 @class RTCIceServer; | 15 @class RTCIceServer; |
16 | 16 |
17 /** | 17 /** |
18 * Represents the ice transport policy. This exposes the same states in C++, | 18 * Represents the ice transport policy. This exposes the same states in C++, |
19 * which include one more state than what exists in the W3C spec. | 19 * which include one more state than what exists in the W3C spec. |
20 */ | 20 */ |
21 typedef NS_ENUM(NSInteger, RTCIceTransportPolicy) { | 21 typedef NS_ENUM(NSInteger, RTCIceTransportPolicy) { |
22 RTCIceTransportPolicyNone, | 22 RTCIceTransportPolicyNone, |
23 RTCIceTransportPolicyRelay, | 23 RTCIceTransportPolicyRelay, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 @property(nonatomic, assign) int iceBackupCandidatePairPingInterval; | 73 @property(nonatomic, assign) int iceBackupCandidatePairPingInterval; |
74 | 74 |
75 /** Key type used to generate SSL identity. Default is ECDSA. */ | 75 /** Key type used to generate SSL identity. Default is ECDSA. */ |
76 @property(nonatomic, assign) RTCEncryptionKeyType keyType; | 76 @property(nonatomic, assign) RTCEncryptionKeyType keyType; |
77 | 77 |
78 - (instancetype)init NS_DESIGNATED_INITIALIZER; | 78 - (instancetype)init NS_DESIGNATED_INITIALIZER; |
79 | 79 |
80 @end | 80 @end |
81 | 81 |
82 NS_ASSUME_NONNULL_END | 82 NS_ASSUME_NONNULL_END |
OLD | NEW |