Closed karnadii closed 5 years ago
Some of the sources in Playlist may be causing this issue The exoplayer throws an error when there is an issue in determining contentType of some source.
Please Try to play every source in the playlist individually and try to catch the source which causing this issue.
I have tried some of the random sources from your playlist and they work fine for me.
@siddhesh-tamhanekar some of my source returning 404 and 503, is it can cause this error?
can i override the next and prev event in notification controller? or maybe remove the next/prev? seems the only solution for me is to setSource
playRadio(int index) async {
player.setSource(MediaFile(
title: radioListDB[index].title,
source: radioListDB[index].streamUrl,
type: "audio"));
player.play();
}
but if I using this code the next prev just playing the same source,
You could eliminate buggy sources and try to give it as a playlist.
Closing this issue due to inactivity
i got this error when setting a playlist,
my code