Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
atovpeko committed Jun 18, 2024
1 parent e423d2c commit d6242f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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. <Admonition type="info" title="abandoned">This error code is deprecated. Please use `CONNECTION_CHANGED_TOKEN_EXPIRED(9)` in the `onConnectionStateChanged` callback instead. </Admonition> |
| `110` | Token is invalid. There are generally the following reasons: <ul><li>App certificate is enabled in the <Vg k="CONSOLE" />, but App ID + Token authentication is not used. When App certificate is enabled in the project, you must use Token authentication.</li> <li>The `uid` field entered when generating the Token does not match the `uid` entered when the user joined the channel.</li></ul> <Admonition type="info" title="abandoned">This error code is deprecated. Please use `CONNECTION_CHANGED_INVALID_TOKEN(8)` in the `onConnectionStateChanged` callback instead.</Admonition> |
| `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. <Admonition type="info" title="Deprecated">This error code is deprecated. Please use `CONNECTION_CHANGED_TOKEN_EXPIRED(9)` in the `onConnectionStateChanged` callback instead. </Admonition> |
| `110` | Token is invalid. There are generally the following reasons: <ul><li>App certificate is enabled in the <Vg k="CONSOLE" />, but App ID + Token authentication is not used. When App certificate is enabled in the project, you must use Token authentication.</li> <li>The `uid` field entered when generating the Token does not match the `uid` entered when the user joined the channel.</li></ul> <Admonition type="info" title="Deprecated">This error code is deprecated. Please use `CONNECTION_CHANGED_INVALID_TOKEN(8)` in the `onConnectionStateChanged` callback instead.</Admonition> |
| `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. |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- In the return value of a failed method call.
- Through the `onError` callback.

<Admonition type="info" title="Information">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`.</Admonition>
<Admonition type="info" title="Information"><ul><li>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`.</li><li>The API names on this page are based on C++. The API names of other platforms may be different. Please refer to the API documentation of the corresponding platform.</li></ul></Admonition>

0 comments on commit d6242f3

Please sign in to comment.