CHANNEL_MEDIA_RELAY_ERROR
Error codes during channel media relay.
Enumerations
- RELAY_OK
- (0): No error.
- RELAY_ERROR_SERVER_ERROR_RESPONSE
- (1): Server error response.
- RELAY_ERROR_SERVER_NO_RESPONSE
- (2): No server response. This may be caused by poor network connection. If this occurs when starting media relay, try again later; if it occurs during relay, call
leaveChannel(const LeaveChannelOptions& options)to leave the channel. This error may also occur if the project has not enabled media relay service. You can contact technical support to enable it. - RELAY_ERROR_NO_RESOURCE_AVAILABLE
- (3): SDK cannot access the service, possibly due to limited server resources.
- RELAY_ERROR_FAILED_JOIN_SRC
- (4): Failed to join the source channel.
- RELAY_ERROR_FAILED_JOIN_DEST
- (5): Failed to join the destination channel.
- RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC
- (6): Server failed to receive media stream.
- RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST
- (7): Server failed to send media stream.
- RELAY_ERROR_SERVER_CONNECTION_LOST
- (8): SDK lost connection to the server due to poor network. You can call
leaveChannel(const LeaveChannelOptions& options)to leave the channel. - RELAY_ERROR_INTERNAL_ERROR
- (9): Internal server error.
- RELAY_ERROR_SRC_TOKEN_EXPIRED
- (10): Source channel token has expired.
- RELAY_ERROR_DEST_TOKEN_EXPIRED
- (11): Destination channel token has expired.