onMediaRelayStatesChange method Null safety

void onMediaRelayStatesChange(
  1. int state,
  2. String channelName
)

Occurs when the state of the media stream relay changes

state indicates the state of the media stream relay. For more information, see NERtcChannelMediaRelayState channelName The name of a destination room to which media streams are relayed.

Implementation

void onMediaRelayStatesChange(int state, String channelName);