tlenclos / react-native-audio-streaming

iOS & Android react native module to play an audio stream, with background support and media controls
MIT License
783 stars 254 forks source link

[Android Only] Unable to play file from AWS S3 #87

Open dtyrrell opened 7 years ago

dtyrrell commented 7 years ago

Hi!

Great library, very easy to use compared to other cross platform audio players I've seen.

I'm unable to stream a MP3 file from Amazon S3, the same file works fine on iOS

The example file plays on Android (contained with the code snippet below works fine)

I'm currently using the PlayerUI as seen in the example below, but I have tried playing the file programmatically without the UI


import { Player } from 'react-native-audio-streaming';

class PlayerUI extends Component {
  render() {
    return (
        <Player url={"http://lacavewebradio.chickenkiller.com:8000/stream.mp3"} />
    );
  }
}
cherniv commented 7 years ago

Try using the android-exoplayer branch