react-native-audio-streaming icon indicating copy to clipboard operation
react-native-audio-streaming copied to clipboard

Replace aacdecoder lib with Exoplayer on android

Open tlenclos opened this issue 8 years ago • 3 comments

As discussed here https://github.com/tlenclos/react-native-audio-streaming/issues/5#issuecomment-237539525

Exoplayer is a better, recent, updated lib to handle media. Example implementation https://github.com/xeodou/react-native-player

tlenclos avatar Aug 14 '16 14:08 tlenclos

I tried ExoPlayer and it's working nice and allow much more control on the stream. See my branch https://github.com/tlenclos/react-native-audio-streaming/tree/android-exoplayer.

Unfortunately it does not support shoutcast metadata, somebody tried to implement it here https://github.com/google/ExoPlayer/issues/466#issuecomment-103476038 but it's outdated and we need to apply this patch on the current version of ExoPlayer (and maybe create a PR).

tlenclos avatar Aug 14 '16 19:08 tlenclos

Are you still looking at replacing aacdecoder with ExoPlayer? is the only holdup getting shoutcast metadata support for ExoPlayer?

brettpappas avatar Oct 28 '16 14:10 brettpappas

Yes I still think this is the way to go, and the only blocker is shoutcast metadata support.

tlenclos avatar Oct 31 '16 09:10 tlenclos