rurico / flutter_video_compress

Generate a new file by compressed video, and provide metadata. Get video thumbnail from a video path, supports JPEG/GIF. To reduce app size not using FFmpeg in IOS.
MIT License
188 stars 73 forks source link

Bad state: Stream has already been listened to. #15

Closed kamami closed 5 years ago

kamami commented 5 years ago

When popping the page (example page of the project) and returning following error is thrown:

Bad state: Stream has already been listened to.

  @override
  void dispose() {
    super.dispose();
    _subscription.unsubscribe();
  }

Dispose is implemented.

rurico commented 5 years ago

can you provide a minimal repo?

kamami commented 5 years ago

https://github.com/kamami/Compress.git

rurico commented 5 years ago

When constructor flutter_video_compress, will take from the cache. Now I remove it.