ChannelMediaRelayError

Error codes for media stream relay across channels.

Enumerations

relayOk
0: Everything works fine.
relayErrorServerErrorResponse
1: Server error response.
relayErrorServerNoResponse
2: No response from the server. This error may be caused by poor network conditions. If this error is reported when initiating cross-channel media relay, you can try again later; if reported during the relay process, you can call the leaveChannel method to leave the channel. This error may also occur if the current App ID has not enabled cross-channel media relay. You can contact technical support to apply for enabling it.
relayErrorNoResourceAvailable
3: SDK failed to get the service, possibly due to limited server resources.
relayErrorFailedJoinSrc
4: Failed to initiate media stream relay across channels.
relayErrorFailedJoinDest
5: Failed to accept media stream relay across channels.
relayErrorFailedPacketReceivedFromSrc
6: Server failed to receive media stream relay across channels.
relayErrorFailedPacketSentToDest
7: Server failed to send media stream relay across channels.
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: Token of the source channel has expired.
relayErrorDestTokenExpired
11: Token of the destination channel has expired.