ChannelMediaRelayError

Error codes for channel media relay failures.

Enumerations

RelayOk
0: Everything works fine.
RelayErrorServerErrorResponse
1: Server response error.
RelayErrorServerNoResponse
2: No response from the server. This error may be caused by poor network conditions. If this error is reported when initiating channel media relay, you can retry later; if it occurs 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 the channel media relay feature. You can contact technical support to request enabling channel media relay.
RelayErrorNoResourceAvailable
3: SDK fails to get the service, possibly due to limited server resources.
RelayErrorFailedJoinSrc
4: Failed to initiate channel media relay request.
RelayErrorFailedJoinDest
5: Failed to accept channel media relay request.
RelayErrorFailedPacketReceivedFromSrc
6: Server fails to receive media stream from the source channel.
RelayErrorFailedPacketSentToDest
7: Server fails to send media stream to the destination channel.
RelayErrorServerConnectionLost
8: SDK loses connection with 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 of the source channel has expired.
RelayErrorDestTokenExpired
11: The token of the destination channel has expired.