Doesn't play my URLs
hawkson-lemuel opened this issue · comments
Hi. Everything works well when I stream music with the test URL you provided but when I use my own URL, it doesn't stream. This is my code. Am I doing something wrong or is it not able to handle URLs with capital letters?
playSong = () => {
// const url = "http://lacavewebradio.chickenkiller.com:8000/stream.mp3";
const url = "http://assist.mp3rover.com/wp-content/uploads/2017/06/Dada-Kwabena-Ft-Shatta-Rako-Kofi-B-Ice-Cream-www.urbanroll.net_.mp3";
// const url = this.state.mp3Url;
console.log("song being played ", url);
ReactNativeAudioStreaming.play(url, { showIniOSMediaCenter: true, showInAndroidNotifications: true });
}
+1.. Works perfect for ios but not works in android
+1 its because this plugin does not support all streaming formats :/