onChannelMediaRelayStateChanged property
void Function(ChannelMediaRelayState state, ChannelMediaRelayError code)?
onChannelMediaRelayStateChanged
final
Occurs when the state of the media stream relay changes. The SDK returns the state of the current media relay with any error message.
stateThe state code. See ChannelMediaRelayState .codeThe error code of the channel media relay. See ChannelMediaRelayError .
Implementation
final void Function(
ChannelMediaRelayState state, ChannelMediaRelayError code)?
onChannelMediaRelayStateChanged;