Explorar el Código

videoInfo stream

Caijinglong hace 6 años
padre
commit
c6ed61fa56
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      lib/src/widget/controller.dart

+ 0 - 5
lib/src/widget/controller.dart

@@ -71,11 +71,6 @@ class _DefaultControllerWidgetState extends State<DefaultControllerWidget> {
     }
 
     progressTimer?.cancel();
-    controller.videoInfoStream.listen((info) {
-      if (info == null || !info.hasData) {
-        stopTimer();
-      }
-    });
     progressTimer = Timer.periodic(Duration(milliseconds: 400), (timer) {
       controller.refreshVideoInfo();
     });