AgoraChannelMediaRelayState 常量

Declared in AgoraEnumerates.h

AgoraChannelMediaRelayState

跨频道媒体流转发状态码

Definition

typedef NS_ENUM(NSInteger, AgoraChannelMediaRelayState ) {
   AgoraChannelMediaRelayStateIdle = 0,
   AgoraChannelMediaRelayStateConnecting = 1,
   AgoraChannelMediaRelayStateRunning = 2,
   AgoraChannelMediaRelayStateFailure = 3,
};

Constants

AgoraChannelMediaRelayStateIdle

0: SDK 正在初始化。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayStateConnecting

1: SDK 尝试跨频道。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayStateRunning

2: 源频道主播成功加入目标频道。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayStateFailure

3: 发生异常,详见 error 中提示的错误信息。

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h