文档中心
互动直播 (Legacy)
API 参考
ChannelMediaRelayEvent | Agora Web SDK API Reference v4.18.1
Enumeration members
NETWORK_CONNECTED
NETWORK_CONNECTED: = "NETWORK_CONNECTED"
NETWORK_DISCONNECTED
NETWORK_DISCONNECTED: = "NETWORK_DISCONNECTED"
PACKET_JOINED_DEST_CHANNEL
PACKET_JOINED_DEST_CHANNEL: = "PACKET_JOINED_DEST_CHANNEL"
PACKET_JOINED_SRC_CHANNEL
PACKET_JOINED_SRC_CHANNEL: = "PACKET_JOINED_SRC_CHANNEL"
PACKET_RECEIVED_AUDIO_FROM_SRC
PACKET_RECEIVED_AUDIO_FROM_SRC: = "PACKET_RECEIVED_AUDIO_FROM_SRC"
PACKET_RECEIVED_VIDEO_FROM_SRC
PACKET_RECEIVED_VIDEO_FROM_SRC: = "PACKET_RECEIVED_VIDEO_FROM_SRC"
PACKET_SENT_TO_DEST_CHANNEL
PACKET_SENT_TO_DEST_CHANNEL: = "PACKET_SENT_TO_DEST_CHANNEL"
PACKET_UPDATE_DEST_CHANNEL
PACKET_UPDATE_DEST_CHANNEL: = "PACKET_UPDATE_DEST_CHANNEL"
PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE
PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE: = "PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE"
PACKET_UPDATE_DEST_CHANNEL_REFUSED
PACKET_UPDATE_DEST_CHANNEL_REFUSED: = "PACKET_UPDATE_DEST_CHANNEL_REFUSED"
跨频道媒体流转发过程中的事件列表,可以通过 AgoraRTCClient.on("channel-media-relay-event") 获取。