setUserPlaybackVolume method

Future<void> setUserPlaybackVolume(
  1. int userId,
  2. int volume
)

设置远端用户播放音量大小

@param userId 远端用户userId @param volume 设置的音量范围 0,100 @discussion 停止所有启动的跨房间连麦

Implementation

Future<void> setUserPlaybackVolume(int userId, int volume) {
  return bRTCPluginChannel.invokeMethod('setUserPlaybackVolume', {
    "userId": userId,
    "volume": volume,
  });
}