|
@@ -568,10 +568,10 @@ Arguments:
|
|
|
- `label`: a user-defined UTF-8 string representing the Data Channel name
|
|
|
- `init`: a structure of initialization settings containing:
|
|
|
- `reliability`: a structure of reliability settings containing:
|
|
|
- - `bool unordered`: if `true`, the Data Channel will not enforce message ordering, else it will be ordered
|
|
|
- - `bool unreliable`: if `true`, the Data Channel will not enforce strict reliability, else it will be reliable
|
|
|
- - `unsigned int maxPacketLifeTime`: if unreliable, maximum packet life time in milliseconds
|
|
|
- - `unsigned int maxRetransmits`: if unreliable and maxPacketLifeTime is 0, maximum number of retransmissions (0 means no retransmission)
|
|
|
+ - `unordered`: if `true`, the Data Channel will not enforce message ordering, else it will be ordered
|
|
|
+ - `unreliable`: if `true`, the Data Channel will not enforce strict reliability, else it will be reliable
|
|
|
+ - `maxPacketLifeTime`: if unreliable, maximum packet life time in milliseconds
|
|
|
+ - `maxRetransmits`: if unreliable and maxPacketLifeTime is 0, maximum number of retransmissions (0 means no retransmission)
|
|
|
- `protocol` (optional): a user-defined UTF-8 string representing the Data Channel protocol, empty if NULL
|
|
|
- `negotiated`: if `true`, the Data Channel is assumed to be negotiated by the user and won't be negotiated by the WebRTC layer
|
|
|
- `manualStream`: if `true`, the Data Channel will use `stream` as stream ID, else an available id is automatically selected
|