@@ -64,9 +60,7 @@ class _TXVodPlayerPageState extends State<ShortVideoPageWidget> {
}
_dispose()async{
_streamSubscriptionStopAndPlay.cancel();
_streamSubscriptionApplicationResume.cancel();
_streamSubscriptionApplicationPause.cancel();
_eventSubscription.cancel();
_playEventSubscription?.cancel();
await_stop();
_controller.dispose();
...
...
@@ -158,10 +152,10 @@ class _TXVodPlayerPageState extends State<ShortVideoPageWidget> {
});
}
_stopLastAndPlayCurrent(StopAndResumeEventevent){
_stopLastAndPlayCurrent(intindex){
LogUtils.i(TAG,
" [received at not current outside] ${widget.position.toString()}${this.hashCode.toString()}${widget.hashCode.toString()}${_controller.hashCode.toString()}");