onMediaRelayStatesChange method

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

跨房间媒体流转发状态发生改变回调

state 当前跨房间媒体流转发状态。详细信息请参考 NERtcChannelMediaRelayState

channelName 媒体流转发的目标房间名

Implementation

void onMediaRelayStatesChange(int state, String channelName) {}