Please delete the unnecessary URLs before adding new ones. The host has published more than 10 URLs. Please remove the current URL address by calling the removePublishStreamUrl method, and then add a new address by calling the addPublishStreamUrl method. The SDK does not support pushing encrypted streams to CDN.Īn error occurs when pushing streams to CDN. Stream encryption is enabled when the user calls the addPublishStreamUrl method. The SDK only supports adding PNG files as the watermark image.Īn error occurs when reading the watermark file. The user account is invalid, possibly because it contains invalid parameters. This error occurs when the user is kicked out of the channel from the server. Check the entered password or tell the user to try rejoining the channel. The user may have entered an incorrect password to join the channel. Use CLIENT_ROLE_CHANGE_FAILED_REASON in the onConnectionStateChanged callback instead.ĭecryption fails. Note: This method is deprecated as of v3.7.0. Please apply for a new token on the server and call renewToken. Try another region when initializing RtcEngine. RtcEngine fails to get server resources in the specified region. Please rejoin the channel with a valid channel name. The specified channel name is invalid, possibly because the data types of some parameters are incorrect. Please rejoin the channel with a valid App ID. The SDK fails to allocate resources because your app uses too many system resources or system resources are insufficient. RtcEngine fails to initialize and has crashed because of specific Windows firewall settings. The request is abandoned by the SDK, possibly because the request has been sent too frequently. In this case, no extra operation is needed. Stop calling the method to clear this error. The user has left the channel but still calls a method (for example, leaveChannel) to leave the channel.The request to leave the channel is rejected. To join a channel, the call test must be ended by calling stopEchoTest. The user tries to join a channel during a call test.The user is already in the channel and still calls a method (for example, joinChannel) to join the channel.The request to join the channel is rejected. This error occurs if the SDK takes too long (more than 10 seconds) to return the result. Some API calls require the SDK to return the execution result. Check whether your app has access to the audio and video device.Ī timeout occurs. Ensure that the RtcEngine instance is created and initialized before calling the method. The buffer size is insufficient to store the returned data.Ī method is called before the initialization of RtcEngine. Ensure that the user role is audience before calling the switchChannel method. A user whose role is not audience calls the switchChannel method.The joinChannel method in RtcEngine is called to join another channel after an RtcChannel instance has been created to join a channel and a stream has been published in the channel.When the joinChannel method is called to join one of multiple channels, the specified channel name is already in use.The channel name is set as the empty string "" when creating the RtcChannel instance.The request is rejected due to one of the following reasons: Please check the encryption mode setting or reload the external encryption library. The built-in encryption mode is incorrect or the SDK fails to load the external encryption library.The setBeautyEffectOptions method is called on devices running versions earlier than Android 5.0.RtcEngine does not support the request due to one of the following reasons: Users have not left the channel when the rate and complain methods are called.No user has joined the channel when the method is called.The SDK is not ready due to one of the following reasons: For example, the specified channel name includes illegal characters. Try calling the method again.Īn invalid parameter is used. In such a case, it should be read as if it were positive.Ī general error occurs (no specified reason). The return value of a method call, represented by a negative number.The error and warning codes may be returned in the following ways: Third-party frameworks (third-party platforms where native app code is wrapped), such as Electron, Unity, React Native, and Flutter.Native platforms, such as Android, iOS, macOS, and Windows.This section applies to the Agora Video Calling SDKs designed for: Native platforms and third-party frameworks For example, if the SDK returns error code -2, you should refer to 2 in the error code table. In such a case, it should be read as if it were positive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |