Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Local audio file doesn't play in device. #3

Open
kiritm-nimblechapps opened this issue Dec 20, 2017 · 4 comments
Open

Local audio file doesn't play in device. #3

kiritm-nimblechapps opened this issue Dec 20, 2017 · 4 comments

Comments

@kiritm-nimblechapps
Copy link

Hi,

The Url is working fine but local recording store .mp3 file doesn't play. can you help me for it.

Thanks.

@ithustle
Copy link
Contributor

ithustle commented Jun 7, 2018

I thing the owner run away... The same here

@danias
Copy link
Contributor

danias commented Oct 13, 2018

@ithustle same problem here. Have you found a good react-native sound package that works well including playing in the background in iOS?

react-native-sound doesn't work for me in iOS, react-react-native-sound-player works on iOS but can't get it to work in the background in iOS while this seems to work in iOS background but only with online file and I am finding it difficult to get it to reuse a preloaded file again and again so that the client won't have to download the mp3 file each time it needs to play.

@ithustle
Copy link
Contributor

@danias I'm still use react-native-play-audio. I figure out a way to play local and stream audio. I re-use the library and made this lib as a Native Module on my project. Now is working well. But not figure out how can I detected when music is end. Try this, if you get it, tell me.

@danias
Copy link
Contributor

danias commented Oct 14, 2018

@ithustle I guess we have done the same thing. I have submitted a pull request with a fix for the local files in a similar way as you describe but I can't figure out either why the onEnd callback doesn't work. I don't really need the onEnd callback at the moment so I don't think I will spend more time on it. If I do fix it I will let you know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants