AgoraChannelMediaRelayError Constants Reference
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 方法离开频道。 - 该错误也可能是由于当前的 App ID 未开启跨频道连麦服务导致的。你可以联系技术支持申请开通跨频道连麦服务。
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