Open viperfx opened 6 years ago
Do you have another library suggestion instead?
What library should be used then? @viperfx
Maybe this https://github.com/futurice/react-native-audio-toolkit
It uses AVPlayer
I stumbled upon this problem as well. A 16 minute 6.7MB file would never load on iOS so I was forced to switch to react-native-audio-toolkit.
Same problem here. This 700kB file plays: https://file-examples-com.github.io/uploads/2017/11/file_example_MP3_700KB.mp3 This 5mb file does not work on iOS but works on Android: https://file-examples-com.github.io/uploads/2017/11/file_example_MP3_5MG.mp3
This should be a disclaimer on the repo itself. This library uses AVAudioPlayer, and thus it is not suitable for large remote files or streaming. It has to download the file into memory and then play it.
It should have been implemented with AVPlayer.