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.