Browse Source

Doc: Cleaned up leftover types in arguments description

Paul-Louis Ageneau 3 years ago
parent
commit
25fe626b95
2 changed files with 8 additions and 8 deletions
  1. 4 4
      DOC.md
  2. 4 4
      pages/content/pages/reference.md

+ 4 - 4
DOC.md

@@ -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

+ 4 - 4
pages/content/pages/reference.md

@@ -572,10 +572,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