Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Play .m4a by remote url in iOS with react-native-track-player

$
0
0

I'm trying to use react-native-track-player library in my project for both ios and android and I faced a problem.

All my files(remote URLs) are .m4a and they're playing just fine on android but the library raises an error on ios: {“error”: “Cannot Open”, “type”: “playback-error”}

When I replace .m4a file with .mp3 it works on ios but I would like to use .m4a.

Does anyone know why it does not work on iOS but works on android with .m4a? And how to force it to work on ios without converting m4a to mp3?

P.S. This library suits my needs very well so I want to keep it


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>