ChannelMediaRelayError

Error codes for cross-channel media stream relay.

Enumerations

RelayOk
0: Everything is working properly.
RelayErrorServerErrorResponse
1: Server returned an error.
RelayErrorServerNoResponse
2: No response from the server. This error may be caused by poor network conditions. If this error occurs when initiating cross-channel media relay, you can try again later; if it occurs during the relay process, you can call the leaveChannel method to leave the channel. It may also be due to the current App ID not having cross-channel media relay enabled. You can contact technical support to request enabling this feature.
RelayErrorNoResourceAvailable
3: The SDK cannot access the service, possibly due to limited server resources.
RelayErrorFailedJoinSrc
4: Failed to initiate cross-channel media stream relay request.
RelayErrorFailedJoinDest
5: Failed to accept cross-channel media stream relay request.
RelayErrorFailedPacketReceivedFromSrc
6: Server failed to receive cross-channel media stream.
RelayErrorFailedPacketSentToDest
7: Server failed to send cross-channel media stream.
RelayErrorServerConnectionLost
8: SDK disconnected from the server due to poor network quality. You can call the leaveChannel method to leave the current channel.
RelayErrorInternalError
9: Internal server error.
RelayErrorSrcTokenExpired
10: The token for the source channel has expired.
RelayErrorDestTokenExpired
11: The token for the destination channel has expired.