ChannelMediaRelayState

State codes for media stream relay across channels.

Enumerations

relayStateIdle
0: Initial state. After successfully calling stopChannelMediaRelay to stop media stream relay across channels, onChannelMediaRelayStateChanged will return this state.
relayStateConnecting
1: SDK is attempting cross-channel connection.
relayStateRunning
2: Broadcaster in the source channel has successfully joined the destination channel.
relayStateFailure
3: An error occurred. See the code parameter in onChannelMediaRelayStateChanged for error details.