AgoraChannelMediaRelayError Constants Reference

Declared in AgoraEnumerates.h

AgoraChannelMediaRelayError

The error code in AgoraChannelMediaRelayError.

Constants

AgoraChannelMediaRelayErrorNone

0: The state is normal.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorServerErrorResponse

1: An error occurs in the server response.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorServerNoResponse

2: No server response. 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.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorNoResourceAvailable

3: The SDK fails to access the service, probably due to limited resources of the server.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorFailedJoinSourceChannel

4: Fails to send the relay request.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorFailedJoinDestinationChannel

5: Fails to accept the relay request.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorFailedPacketReceivedFromSource

6: The server fails to receive the media stream.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorFailedPacketSentToDestination

7: The server fails to send the media stream.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorServerConnectionLost

8: The SDK disconnects from the server due to poor network connections. You can call the leaveChannel method to leave the channel.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorInternalError

9: An internal error occurs in the server.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorSourceTokenExpired

10: The token of the source channel has expired.

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayErrorDestinationTokenExpired

11: The token of the destination channel has expired.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h