AgoraChannelMediaRelayEvent Constants Reference

Declared in AgoraEnumerates.h

AgoraChannelMediaRelayEvent

跨频道媒体流转发事件码

Constants

AgoraChannelMediaRelayEventDisconnect

0: 网络中断导致用户与服务器连接断开。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventConnected

1: 用户与服务器建立连接。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventJoinedSourceChannel

2: 用户已加入源频道。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventJoinedDestinationChannel

3: 用户已加入目标频道。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventSentToDestinationChannel

4: SDK 开始向目标频道发送数据包。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventReceivedVideoPacketFromSource

5: 服务器收到了源频道发送的视频流。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventReceivedAudioPacketFromSource

6: 服务器收到了源频道发送的音频流。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventUpdateDestinationChannel

7: 目标频道已更新。成功调用 updateChannelMediaRelay 方法会返回该状态码,表示成功将流转发到目标频道,或成功退出当前的转发频道。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventUpdateDestinationChannelRefused

8: 内部原因导致目标频道更新失败。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventUpdateDestinationChannelNotChange

9: 目标频道未发生改变,即目标频道更新失败。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventUpdateDestinationChannelIsNil

10: 目标频道名为 nil

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventVideoProfileUpdate

11: 视频属性已发送至服务器。

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventPauseSendPacketToDestChannelSuccess

12: 成功暂停向目标频道转发媒体流

Available in v3.5.1

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventPauseSendPacketToDestChannelFailed

13: 暂停向目标频道转发媒体流失败

Available in v3.5.1

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventResumeSendPacketToDestChannelSuccess

14: 成功恢复向目标频道转发媒体流

Available in v3.5.1

Declared In AgoraEnumerates.h.

AgoraChannelMediaRelayEventResumeSendPacketToDestChannelFailed

15: 恢复向目标频道转发媒体流失败

Available in v3.5.1

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h