AgoraChannelMediaRelayError 常量
Declared in | AgoraEnumerates.h |
---|
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: 一切正常。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorServerErrorResponse
-
1: 服务器回应出错。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorServerNoResponse
-
2: 服务器无回应。你可以调用 leaveChannel 方法离开频道。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorNoResourceAvailable
-
3: SDK 无法获取服务,可能是因为服务器资源有限导致。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorFailedJoinSourceChannel
-
4: 发起跨频道转发媒体流请求失败。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorFailedJoinDestinationChannel
-
5: 接受跨频道转发媒体流请求失败。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorFailedPacketReceivedFromSource
-
6: 服务器接收跨频道转发媒体流失败。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorFailedPacketSentToDestination
-
7: 服务器发送跨频道转发媒体流失败。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorServerConnectionLost
-
8: SDK 因网络质量不佳与服务器断开。你可以调用 leaveChannel 方法离开当前频道。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorInternalError
-
9: 服务器内部出错。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorSourceTokenExpired
-
10: 源频道的 Token 已过期。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayErrorDestinationTokenExpired
-
11: 目标频道的 Token 已过期。
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h