Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to play audio files through the URL #245

Closed
ahmad6242 opened this issue Dec 8, 2020 · 4 comments · Fixed by #285
Closed

Not able to play audio files through the URL #245

ahmad6242 opened this issue Dec 8, 2020 · 4 comments · Fixed by #285

Comments

@ahmad6242
Copy link

Version of react-native-audio-recorder-player

2.6.0

Platforms you faced the error (IOS or Android or both?)

Android currently. but will test on IOS also later

Expected behavior

https://ieducore.org/portal/attachments/images/center/2/stdassign/assign_5fcf71979de20.mp4
var path = Platform.select({
ios: url,
android: url,
});
var msg = await this.audioRecorderPlayer.startPlayer(path);
console.log('msg', msg);

it is taking so much time to reach to the console. and not able to play it
Showing warning on react native app
prepare failed: status0*1

Actual behavior

It should play the audio immediately after calling it.

Steps to reprodue the behabior

Just try to run any audio through URL.

@brycechampaign
Copy link

Yeah, it works on iOS but not on Android.

@hyochan hyochan added this to the 3.0.0 milestone May 8, 2021
hyochan added a commit that referenced this issue May 8, 2021
Resolve #284 

Release ASAP as a `beta release`. => `3.0.0-beta.1`

Closes #231 #245 #275
@hyochan hyochan linked a pull request May 8, 2021 that will close this issue
@hyochan
Copy link
Owner

hyochan commented May 8, 2021

Please try 3.0.0-beta.1 if you have time.

Closes via #284

@hyochan hyochan closed this as completed May 8, 2021
@PraveshPalDev
Copy link

Yeah, it works on iOS but not on Android.

Yes i am facing same issue how can solve this, i am record the audio .m4a extension file and in IOS play this audio but in android not play .m4a file extension.

@janroures
Copy link

hi @PraveshPalDev did you solve this in android?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
3.0.0
Awaiting triage
Development

Successfully merging a pull request may close this issue.

5 participants