ChannelMediaRelayState

The state code of the channel media relay.

Enumerator

RelayStateIdle
0: The initial state. After you successfully stop the channel media relay by calling stopChannelMediaRelay, the onChannelMediaRelayStateChanged callback returns this state.
RelayStateConnecting
1: The SDK tries to relay the media stream to the destination channel.
RelayStateRunning
2: The SDK successfully relays the media stream to the destination channel.
RelayStateFailure
3: An error occurs. See code in onChannelMediaRelayStateChanged for the error code.