AgoraChannelMediaRelayError Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraChannelMediaRelayError
The error code in AgoraChannelMediaRelayError.
Definition
typedef NS_ENUM(NSInteger, AgoraChannelMediaRelayError ) {
AgoraChannelMediaRelayErrorNone = 0,
AgoraChannelMediaRelayErrorServerErrorResponse = 1,
AgoraChannelMediaRelayErrorServerNoResponse = 2,
AgoraChannelMediaRelayErrorNoResourceAvailable = 3,
AgoraChannelMediaRelayErrorFailedJoinSourceChannel = 4,
AgoraChannelMediaRelayErrorFailedJoinDestinationChannel = 5,
AgoraChannelMediaRelayErrorFailedPacketReceivedFromSource = 6,
AgoraChannelMediaRelayErrorFailedPacketSentToDestination = 7,
AgoraChannelMediaRelayErrorServerConnectionLost = 8,
AgoraChannelMediaRelayErrorInternalError = 9,
AgoraChannelMediaRelayErrorSourceTokenExpired = 10,
AgoraChannelMediaRelayErrorDestinationTokenExpired = 11,
};
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. You can call the leaveChannel method to leave the channel.
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