AgoraChannelMediaRelayEvent 常量
Declared in | AgoraEnumerates.h |
---|
AgoraChannelMediaRelayEvent
跨频道媒体流转发事件码
Definition
typedef NS_ENUM(NSInteger, AgoraChannelMediaRelayEvent ) {
AgoraChannelMediaRelayEventDisconnect = 0,
AgoraChannelMediaRelayEventConnected = 1,
AgoraChannelMediaRelayEventJoinedSourceChannel = 2,
AgoraChannelMediaRelayEventJoinedDestinationChannel = 3,
AgoraChannelMediaRelayEventSentToDestinationChannel = 4,
AgoraChannelMediaRelayEventReceivedVideoPacketFromSource = 5,
AgoraChannelMediaRelayEventReceivedAudioPacketFromSource = 6,
AgoraChannelMediaRelayEventUpdateDestinationChannel = 7,
AgoraChannelMediaRelayEventUpdateDestinationChannelRefused = 8,
AgoraChannelMediaRelayEventUpdateDestinationChannelNotChange = 9,
AgoraChannelMediaRelayEventUpdateDestinationChannelIsNil = 10,
AgoraChannelMediaRelayEventVideoProfileUpdate = 11,
};
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: 目标频道已更新。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventUpdateDestinationChannelRefused
-
8: 内部原因导致目标频道更新失败。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventUpdateDestinationChannelNotChange
-
9: 目标频道未发生改变,即目标频道更新失败。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventUpdateDestinationChannelIsNil
-
10: 目标频道名为 NULL。
Declared In
AgoraEnumerates.h
. AgoraChannelMediaRelayEventVideoProfileUpdate
-
11: 视频属性已发送至服务器。
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h