Open Qayoommaymon opened 2 years ago
App crashing during downloaded video play also
@Qayoommaymon try this!
bool playBackisPlaying = false;
desktopController?.playbackStream.listen(desktopStateListener);
desktopController?.bufferingProgressStream.listen((double value) {
if(playBackisPlaying && value != 0.0){
isPlaying.value = true;
}else{
isPlaying.value = false;
}
});
dynamic desktopStateListener(PlaybackState state) {
playBackisPlaying = state.isPlaying;
}
Thanks Hitesh to you & all your team for sharing code of much sought windows flutter library. I would like your kind review/suggestion on an issue faced using the dart_vlc library. I have used the library in Flutter Windows Movies app to show both the network (URL based) movies and the live streaming contents. The dart_vlc player is working fine for the network hosted content however its not working for the live streaming contents. The player crashes while playing the live stream after a few seconds of play.
_Note: The internet connection is working fine for the same contents when played on the web browser & mobile app (using the betterplayer).
The error screens of the player crash are also attached for your review and suggestion. Below is the code snippet used for playing the contents using the dart_vlc:
Screenshots
(below is the Debug screenshot.)