WSCDataChannelOption Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | WSCDataChannelConfig.h |
ordered
Indicates if the data channel should guarantee order or not.
@property (nonatomic) BOOL orderedDiscussion
Indicates if the data channel should guarantee order or not.
Declared In
WSCDataChannelConfig.h
maxRetransmitTimeMs
Indicates the maximum time to try and retransmit a failed message in milliseconds.
@property (nonatomic) NSInteger maxRetransmitTimeMsDiscussion
Indicates the maximum time to try and retransmit a failed message in milliseconds.
Declared In
WSCDataChannelConfig.h
maxRetransmits
Indicates the maximum number of times to try and retransmit a failed message.
@property (nonatomic) NSInteger maxRetransmitsDiscussion
Indicates the maximum number of times to try and retransmit a failed message.
Declared In
WSCDataChannelConfig.h
protocol
Indicates the protocol to be used for the data channel.
@property (nonatomic) NSString *protocolDiscussion
Indicates the protocol to be used for the data channel.
Declared In
WSCDataChannelConfig.h
negotiated
Indicates if the underlying channel has been externally negotiated. If unsupported, the data-channel will fail.
@property (nonatomic) BOOL negotiatedDiscussion
Indicates if the underlying channel has been externally negotiated. If unsupported, the data-channel will fail.
Declared In
WSCDataChannelConfig.h
id
The stream ID for the channel.
@property (nonatomic) NSInteger idDiscussion
The stream ID for the channel.
Declared In
WSCDataChannelConfig.h
– toJson
Returns a JSON string representation of the WSCDataChannelOption object.
- (NSDictionary *)toJsonReturn Value
NSString
Discussion
Returns a JSON string representation of the WSCDataChannelOption object.
Declared In
WSCDataChannelConfig.h