stopPlayingStream static method

void stopPlayingStream(
  1. String userId
)

停止播放一路音视频流 @param userId 要停止播放的音视频流用户 ID

Implementation

static void stopPlayingStream(String userId) async {
  if (userId == null || userId.length == 0) return;

  await _channel.invokeMethod("stopPlayingStream", {"streamId": userId});
}