channelMediaRelayStateChanged property
MediaRelayStateCallback?
channelMediaRelayStateChanged
getter/setter pair
Occurs when the state of the media stream relay changes.
The SDK reports the state of the current media relay and possible error messages in this callback.
The MediaRelayStateCallback
typedef includes the following parameters:
- ChannelMediaRelayState
state
: The state code. - ChannelMediaRelayError
code
: The error code.
Implementation
MediaRelayStateCallback? channelMediaRelayStateChanged;