From d6242f3933f38d8c81b0328895873307771fcfad Mon Sep 17 00:00:00 2001 From: atovpeko Date: Tue, 18 Jun 2024 11:36:53 +0300 Subject: [PATCH] review --- .../error-codes/codes/non-web-common-error-codes.mdx | 4 ++-- .../error-codes/error-code-returned-ways/non-web-ways.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/video-sdk/reference/error-codes/codes/non-web-common-error-codes.mdx b/shared/video-sdk/reference/error-codes/codes/non-web-common-error-codes.mdx index 029b34bd6..b9a478046 100644 --- a/shared/video-sdk/reference/error-codes/codes/non-web-common-error-codes.mdx +++ b/shared/video-sdk/reference/error-codes/codes/non-web-common-error-codes.mdx @@ -21,8 +21,8 @@ | `101` | Not a valid App ID, please rejoin the channel with a valid App ID. | | `102` | Not a valid channel name. The possible reason is that the parameter data type set is incorrect. Please rejoin the channel with a valid channel name. | | `103` | Cannot get server resources for the current region. Please try to specify a different region when initializing `RtcEngine`. | -| `109` | The currently used Token has expired and is no longer valid. Please generate a new Token on the server side and call `renewToken` to update the Token. This error code is deprecated. Please use `CONNECTION_CHANGED_TOKEN_EXPIRED(9)` in the `onConnectionStateChanged` callback instead. | -| `110` | Token is invalid. There are generally the following reasons: This error code is deprecated. Please use `CONNECTION_CHANGED_INVALID_TOKEN(8)` in the `onConnectionStateChanged` callback instead. | +| `109` | The currently used Token has expired and is no longer valid. Please generate a new Token on the server side and call `renewToken` to update the Token. This error code is deprecated. Please use `CONNECTION_CHANGED_TOKEN_EXPIRED(9)` in the `onConnectionStateChanged` callback instead. | +| `110` | Token is invalid. There are generally the following reasons: This error code is deprecated. Please use `CONNECTION_CHANGED_INVALID_TOKEN(8)` in the `onConnectionStateChanged` callback instead. | | `111` | The network connection is interrupted. After the SDK established a connection with the server, the network connection was lost for more than 4 seconds. | | `112` | Network connection lost. The network connection was interrupted and the SDK could not connect to the server within 10 seconds. | | `119` | User failed to switch roles, please try to join the channel again. | diff --git a/shared/video-sdk/reference/error-codes/error-code-returned-ways/non-web-ways.mdx b/shared/video-sdk/reference/error-codes/error-code-returned-ways/non-web-ways.mdx index cffd8b8d6..24dda9594 100644 --- a/shared/video-sdk/reference/error-codes/error-code-returned-ways/non-web-ways.mdx +++ b/shared/video-sdk/reference/error-codes/error-code-returned-ways/non-web-ways.mdx @@ -1,4 +1,4 @@ - In the return value of a failed method call. - Through the `onError` callback. -When the SDK returns an error code, it may return a negative number. This negative number corresponds to the positive integer in the error code. For example, a returned value of `-2` corresponds to the error code `2`. \ No newline at end of file + \ No newline at end of file