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 <AvailabilityMacros.h> | 11 #import <AvailabilityMacros.h> |
12 #import <Foundation/Foundation.h> | 12 #import <Foundation/Foundation.h> |
13 | 13 |
| 14 #import "webrtc/base/objc/RTCMacros.h" |
| 15 |
14 NS_ASSUME_NONNULL_BEGIN | 16 NS_ASSUME_NONNULL_BEGIN |
15 | 17 |
| 18 RTC_EXPORT |
16 @interface RTCDataChannelConfiguration : NSObject | 19 @interface RTCDataChannelConfiguration : NSObject |
17 | 20 |
18 /** Set to YES if ordered delivery is required. */ | 21 /** Set to YES if ordered delivery is required. */ |
19 @property(nonatomic, assign) BOOL isOrdered; | 22 @property(nonatomic, assign) BOOL isOrdered; |
20 | 23 |
21 /** Deprecated. Use maxPacketLifeTime. */ | 24 /** Deprecated. Use maxPacketLifeTime. */ |
22 @property(nonatomic, assign) NSInteger maxRetransmitTimeMs DEPRECATED_ATTRIBUTE; | 25 @property(nonatomic, assign) NSInteger maxRetransmitTimeMs DEPRECATED_ATTRIBUTE; |
23 | 26 |
24 /** | 27 /** |
25 * Max period in milliseconds in which retransmissions will be sent. After this | 28 * Max period in milliseconds in which retransmissions will be sent. After this |
(...skipping 14 matching lines...) Expand all Loading... |
40 | 43 |
41 /** The id of the data channel. */ | 44 /** The id of the data channel. */ |
42 @property(nonatomic, assign) int channelId; | 45 @property(nonatomic, assign) int channelId; |
43 | 46 |
44 /** Set by the application and opaque to the WebRTC implementation. */ | 47 /** Set by the application and opaque to the WebRTC implementation. */ |
45 @property(nonatomic) NSString *protocol; | 48 @property(nonatomic) NSString *protocol; |
46 | 49 |
47 @end | 50 @end |
48 | 51 |
49 NS_ASSUME_NONNULL_END | 52 NS_ASSUME_NONNULL_END |
OLD | NEW |