stop method

Future<void> stop()

停止播放

android 停止后,会走部分状态回调,状态回调参考:PlayerStateListener

Implementation

Future<void> stop() async {
  await _state?.flutterRtmpPlugin?.stop();
}