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 |