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.