文档中心
语音通话 (Legacy)
API 参考
ChannelMediaRelayState | Agora Web SDK API Reference v4.18.1
Enumeration members
RELAY_STATE_CONNECTING
RELAY_STATE_CONNECTING: = "RELAY_STATE_CONNECTING"
RELAY_STATE_FAILURE
RELAY_STATE_FAILURE: = "RELAY_STATE_FAILURE"
RELAY_STATE_IDLE
RELAY_STATE_IDLE: = "RELAY_STATE_IDLE"
RELAY_STATE_RUNNING
RELAY_STATE_RUNNING: = "RELAY_STATE_RUNNING"
跨直播媒体流转发服务的状态码,可以通过 AgoraRTCClient.on("channel-media-relay-state") 事件获取。