Browse Source

Doc: Fixed rtcSetBufferedAmountLowThreshold() reference

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

+ 2 - 2
DOC.md

@@ -462,7 +462,7 @@ Arguments:
 
 
 Return value: the buffered amount or a negative error code
 Return value: the buffered amount or a negative error code
 
 
-#### rtcGetBufferedAmountLowThreshold
+#### rtcSetBufferedAmountLowThreshold
 
 
 ```
 ```
 int rtcSetBufferedAmountLowThreshold(int id, int amount)
 int rtcSetBufferedAmountLowThreshold(int id, int amount)
@@ -475,7 +475,7 @@ Arguments:
 - `id`: the channel identifier
 - `id`: the channel identifier
 - `amount`: the new buffer level threshold
 - `amount`: the new buffer level threshold
 
 
-Return value: the identifier of the new WebSocket or a negative error code
+Return value: `RTC_ERR_SUCCESS` or a negative error code
 
 
 #### rtcReceiveMessage
 #### rtcReceiveMessage
 
 

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

@@ -462,7 +462,7 @@ Retrieves the current buffered amount, i.e. the total size of currently buffered
 
 
 Return value: the buffered amount or a negative error code
 Return value: the buffered amount or a negative error code
 
 
-#### rtcGetBufferedAmountLowThreshold
+#### rtcSetBufferedAmountLowThreshold
 
 
 ```
 ```
 int rtcSetBufferedAmountLowThreshold(int id, int amount)
 int rtcSetBufferedAmountLowThreshold(int id, int amount)
@@ -475,7 +475,7 @@ Arguments:
 - `id`: the channel identifier
 - `id`: the channel identifier
 - `amount`: the new buffer level threshold
 - `amount`: the new buffer level threshold
 
 
-Return value: the identifier of the new WebSocket or a negative error code
+Return value: `RTC_ERR_SUCCESS` or a negative error code
 
 
 #### rtcReceiveMessage
 #### rtcReceiveMessage