Browse Source

Added rtcIsClosed() to C API reference

Paul-Louis Ageneau 3 years ago
parent
commit
ed1a8e8fc3
2 changed files with 24 additions and 0 deletions
  1. 12 0
      DOC.md
  2. 12 0
      pages/content/pages/reference.md

+ 12 - 0
DOC.md

@@ -413,6 +413,18 @@ Arguments:
 
 
 Return value: `true` if the channel exists and is open, `false` otherwise
 Return value: `true` if the channel exists and is open, `false` otherwise
 
 
+#### rtcIsClosed
+
+```
+bool rtcIsClosed(int id)
+```
+
+Arguments:
+
+- `id`: the channel identifier
+
+Return value: `true` if the channel exists and is closed (not open and not connecting), `false` otherwise
+
 #### rtcSendMessage
 #### rtcSendMessage
 
 
 ```
 ```

+ 12 - 0
pages/content/pages/reference.md

@@ -416,6 +416,18 @@ Arguments:
 
 
 Return value: `true` if the channel exists and is open, `false` otherwise
 Return value: `true` if the channel exists and is open, `false` otherwise
 
 
+#### rtcIsClosed
+
+```
+bool rtcIsClosed(int id)
+```
+
+Arguments:
+
+- `id`: the channel identifier
+
+Return value: `true` if the channel exists and is closed (not open and not connecting), `false` otherwise
+
 #### rtcSendMessage
 #### rtcSendMessage
 
 
 ```
 ```