Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: webrtc/api/objc/RTCDataChannelConfiguration.h

Issue 1845133002: Minor ObjC header updates. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/objc/RTCDataChannel.mm ('k') | webrtc/api/objc/RTCDataChannelConfiguration.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <Foundation/Foundation.h> 12 #import <Foundation/Foundation.h>
12 13
13 NS_ASSUME_NONNULL_BEGIN 14 NS_ASSUME_NONNULL_BEGIN
14 15
15 @interface RTCDataChannelConfiguration : NSObject 16 @interface RTCDataChannelConfiguration : NSObject
16 17
17 /** Set to YES if ordered delivery is required. */ 18 /** Set to YES if ordered delivery is required. */
18 @property(nonatomic, assign) BOOL isOrdered; 19 @property(nonatomic, assign) BOOL isOrdered;
19 20
21 /** Deprecated. Use maxPacketLifeTime. */
22 @property(nonatomic, assign) NSInteger maxRetransmitTimeMs DEPRECATED_ATTRIBUTE;
23
20 /** 24 /**
21 * Max period in milliseconds in which retransmissions will be sent. After this 25 * Max period in milliseconds in which retransmissions will be sent. After this
22 * time, no more retransmissions will be sent. -1 if unset. 26 * time, no more retransmissions will be sent. -1 if unset.
23 */ 27 */
24 @property(nonatomic, assign) int maxPacketLifeTime; 28 @property(nonatomic, assign) int maxPacketLifeTime;
25 29
26 /** The max number of retransmissions. -1 if unset. */ 30 /** The max number of retransmissions. -1 if unset. */
27 @property(nonatomic, assign) int maxRetransmits; 31 @property(nonatomic, assign) int maxRetransmits;
28 32
29 /** Set to YES if the channel has been externally negotiated and we do not send 33 /** Set to YES if the channel has been externally negotiated and we do not send
30 * an in-band signalling in the form of an "open" message. 34 * an in-band signalling in the form of an "open" message.
31 */ 35 */
32 @property(nonatomic, assign) BOOL isNegotiated; 36 @property(nonatomic, assign) BOOL isNegotiated;
33 37
34 /** The stream id, or SID, for SCTP data channels. -1 if unset. */ 38 /** Deprecated. Use channelId. */
35 @property(nonatomic, assign) int streamId; 39 @property(nonatomic, assign) int streamId DEPRECATED_ATTRIBUTE;
40
41 /** The id of the data channel. */
42 @property(nonatomic, assign) int channelId;
36 43
37 /** Set by the application and opaque to the WebRTC implementation. */ 44 /** Set by the application and opaque to the WebRTC implementation. */
38 @property(nonatomic) NSString *protocol; 45 @property(nonatomic) NSString *protocol;
39 46
40 @end 47 @end
41 48
42 NS_ASSUME_NONNULL_END 49 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/api/objc/RTCDataChannel.mm ('k') | webrtc/api/objc/RTCDataChannelConfiguration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698