ChannelMediaRelayError

The error code of the channel media relay.

Enumerator

RelayOk
0: No error.
RelayErrorServerErrorResponse
1: An error occurs in the server response.
RelayErrorServerNoResponse

2: No server response.

This error may be caused by poor network connections. If this error occurs when initiating a channel media relay, you can try again later; if this error occurs during channel media relay, you can call leaveChannel to leave the channel.

This error can also occur if the channel media relay service is not enabled in the project. You can contact technical support to enable the service.

RelayErrorNoResourceAvailable
3: The SDK fails to access the service, probably due to limited resources of the server.
RelayErrorFailedJoinSrc
4: Fails to send the relay request.
RelayErrorFailedJoinDest
5: Fails to accept the relay request.
RelayErrorFailedPacketReceivedFromSrc
6: The server fails to receive the media stream.
RelayErrorFailedPacketSentToDest
7: The server fails to send the media stream.
RelayErrorServerConnectionLost
8: The SDK disconnects from the server due to poor network connections. You can call leaveChannel to leave the channel.
RelayErrorInternalError
9: An internal error occurs in the server.
RelayErrorSrcTokenExpired
10: The token of the source channel has expired.
RelayErrorDestTokenExpired
11: The token of the destination channel has expired.