Skip to content

Commit

Permalink
Update C API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Nov 7, 2023
1 parent e3ddb99 commit 3320b5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,8 @@ Arguments:
- `reliability`: a structure of reliability settings containing:
- `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)
- `maxPacketLifeTime`: if unreliable, time window in milliseconds during which transmissions and retransmissions may occur
- `maxRetransmits`: if unreliable and maxPacketLifeTime is 0, maximum number of attempted 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
Expand Down
4 changes: 2 additions & 2 deletions pages/content/pages/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ Arguments:
- `reliability`: a structure of reliability settings containing:
- `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)
- `maxPacketLifeTime`: if unreliable, time window in milliseconds during which transmissions and retransmissions may occur
- `maxRetransmits`: if unreliable and maxPacketLifeTime is 0, maximum number of attempted 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
Expand Down

0 comments on commit 3320b5a

Please sign in to comment.