Reputation: 415
I am trying to make a radio streaming app using react native but it doesn't work.
I tried expo-av with Expo CLI, and react-native-radio-player, react-native-video from react native CLI
all of them work well with mp3 and mp4 extensions but don't work with m3u extension..
RadioPlayer.radioURL('https://radio.therockeg.com/clv_64.m3u');
I use https://icecast.org/ for the radio streaming, any help?
Upvotes: 2
Views: 1007
Reputation: 3067
m3u
is just a text format with a list of sources inside, you can read this data on your app side, extract sources and play it with any player you prefer.
Upvotes: 3