The SDK is connecting to the media stream relay service.
An error occurs in the media stream relay. See ChannelMediaRelayError for the error code.
The SDK reports an idle relay state. In Web SDK 4.24.10 this can describe an initialized relay that has not started, or a relay recovering from a temporary signaling disconnection. Do not restart with IAgoraRTCClient.startChannelMediaRelay based solely on this state.
The SDK reports a running relay state. This does not confirm that the latest destination update succeeded. Use the Promise returned by IAgoraRTCClient.updateChannelMediaRelay for that operation result.
The state code of the media stream relay. You can get the code through AgoraRTCClient.on("channel-media-relay-state").