瀏覽代碼

Doc: Fixed rtcSetBufferedAmountLowThreshold() reference

Paul-Louis Ageneau 3 年之前
父節點
當前提交
ee5c410f3e
共有 2 個文件被更改,包括 4 次插入4 次删除
  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
 
-#### rtcGetBufferedAmountLowThreshold
+#### rtcSetBufferedAmountLowThreshold
 
 ```
 int rtcSetBufferedAmountLowThreshold(int id, int amount)
@@ -475,7 +475,7 @@ Arguments:
 - `id`: the channel identifier
 - `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
 

+ 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
 
-#### rtcGetBufferedAmountLowThreshold
+#### rtcSetBufferedAmountLowThreshold
 
 ```
 int rtcSetBufferedAmountLowThreshold(int id, int amount)
@@ -475,7 +475,7 @@ Arguments:
 - `id`: the channel identifier
 - `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