Open ghost opened 6 years ago
+1
Only an issue an issue on Android! Any thoughts here?
+1
There are gaps between loops because of the bug in Android MediaPlayer (which is used under the hood). To fix the problem I've created the react-native-audio-exoplayer module, which has pretty same functionality as the react-native-sound, but it is based on the Android ExoPlayer. The API is a bit different but more robust and modern (have a look at the docs). Later if I have time I'll do a pull request to introduce ExoPlayer in the react-native-sound. But for now feel free to use react-native-audio-exoplayer as a good workaround (for now it's implemented only for Android).
there's a little gap when looping the audio, which is not desirable for playing,say,a small ambiance audio clip. What is the best possible method to achieve seamless audio looping ?