setRemoteVideoPlayState method

Future<void> setRemoteVideoPlayState(
  1. bool stats,
  2. int userId
)

指定远端画面暂停/恢复播放

@param stats true播放 false暂停 @param userId 用户userID @discussion 控制指定远端用户画面暂停/恢复播放

Implementation

Future<void> setRemoteVideoPlayState(bool stats, int userId) {
  return bRTCPluginChannel.invokeMethod('setRemoteVideoPlayState', {
    "stats": stats,
    "userId": userId,
  });
}