befovy / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support. Backend for https://github.com/befovy/fijkplayer, fijkplayer 的播放内核
GNU General Public License v2.0
154 stars 92 forks source link

how should change the source dynamically? #70

Closed rikaweb closed 3 years ago

rikaweb commented 3 years ago

Hi I try to change the source dynamically based on a playlist. but in different conditions got errors like this: E/flutter (27070): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Bad state: call start on invalid state FijkState.end

is there any specific way for changing the source?