CHANNEL_MEDIA_RELAY_STATE
The state code of the channel media relay.
Enumerator
- RELAY_STATE_IDLE
- 0: The initial state. After you successfully stop the channel media relay by calling stopChannelMediaRelay, the onChannelMediaRelayStateChanged callback returns this state.
- RELAY_STATE_CONNECTING
- 1: The SDK tries to relay the media stream to the destination channel.
- RELAY_STATE_RUNNING
- 2: The SDK successfully relays the media stream to the destination channel.
- RELAY_STATE_FAILURE
- 3: An error occurs. See code in onChannelMediaRelayStateChanged for the error code.