Enumeration ChannelMediaRelayState

The state code of the channel media relay.

Enumeration Members

RelayStateConnecting: 1

1: The SDK tries to relay the media stream to the destination channel.

RelayStateFailure: 3

3: An error occurs. See code in onChannelMediaRelayStateChanged for the error code.

RelayStateIdle: 0

0: The initial state. After you successfully stop the channel media relay by calling stopChannelMediaRelay, the onChannelMediaRelayStateChanged callback returns this state.

RelayStateRunning: 2

2: The SDK successfully relays the media stream to the destination channel.

Generated using TypeDoc