Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

'file://' + this.state.audioPath sound could't playback #324

Open
tlweiii6465 opened this issue Apr 17, 2019 · 1 comment
Open

'file://' + this.state.audioPath sound could't playback #324

tlweiii6465 opened this issue Apr 17, 2019 · 1 comment

Comments

@tlweiii6465
Copy link

Version

Tell us which versions you are using ( you can see the versions in your package.json ):

react-native-audio : ^4.3.0
react-native : ^0.55.4
react : 16.5.0
using react-native-sound ? Yes

Expected behaviour :

What were you trying to do and what did you expect to happen ?

On android platform, im using "'file://' + this.state.audioPath" to POST sound.aac to my server but if i add "file://" to play audio and the message will show "message: "resource not found", code: -1 " is that any solution to solve this?

@aJIEw
Copy link

aJIEw commented Aug 21, 2019

you can try rn-fetch-blob to upload file to your sever

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

2 participants