react-native-audio-recorder-player
react-native-audio-recorder-player copied to clipboard
Some audio files won't play on iOS
I have a strange behavior. Some audio files recorded with RNARP on iOS won't play. When I call startPlayer with a URL I get back the played url. The addPlayBackListener receives two calls with currentPosition and duration set to 0.
The same files plays on Android and web browsers both on iOS, Android and desktop.
The mime type for both failing and working files are audio/x-m4a. It's the same backend for both working and not working files.
Any ideas what's wrong and what I can do to fix this?