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

(-1002) unsupported URL when calling dynamicSet() method #4

Closed
vishalvishvakarma1111 opened this issue Sep 7, 2022 · 2 comments
Closed

Comments

@vishalvishvakarma1111
Copy link

vishalvishvakarma1111 commented Sep 7, 2022

I have audio to play but unable to cache it on iphone 8 (15.6.1)

https://myerecordstudiobucket.s3.amazonaws.com/HighRatedGabruGuruRandhawa582292_40_903700_13.mp3

simple steps to reproduce issue

try{
String audioUrl ="https://myerecordstudiobucket.s3.amazonaws.com/HighRatedGabruGuruRandhawa582292_40_903700_13.mp3";
await audioPlayer.dynamicSet(url: audioUrl)

///----> it thowing error
}
catch (e) {
print("catch set url audio-------------- ${e.toString()}");
}

---------------------- output ----------------
catch set url audio-------------- (-1002) unsupported URL

-------------- flutter doctor-------

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.0, on macOS 12.4 21F79 darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

@lau1944
Copy link
Owner

lau1944 commented Sep 10, 2022

ok i will look into it

@lau1944
Copy link
Owner

lau1944 commented Sep 10, 2022

@vishalvishvakarma1111 it works fine on my virtual machine (iphone8)

@lau1944 lau1944 closed this as completed Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants