-
Notifications
You must be signed in to change notification settings - Fork 822
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
Player fails if certificate error #639
Comments
Same issue here : |
Did you add usesCleartextTraffic in Android Manifest? |
Yes but it's useless as it's a HTTPS link here. |
I also get an error, but another one, so
|
But https://streaming-canal-u.fmsh.fr without valid certificate is forwarded to https://vod.canal-u.tv/ with a valid certificate. |
Here is an example: https://cdn-preview-e.deezer.com/stream/c-e6b5f2295c3af5280cc00b3bf842ff57-9.mp3 |
Confirmed, but still getting:
|
Note: this is not #1260 as this is using proper mp3 codec and is playable as asset source. |
I try to play MP3 files from a server (not mine) with an invalid certificate. It plays in other players and browsers, but it fails with audioplayers package.
Check for example the URL "https://streaming-canal-u.fmsh.fr/vod/media/canalu/videos/iap/r.sultats.de.la.mission.juno_55111/philippezarka.mp3".
wget says:
ERROR: cannot verify streaming-canal-u.fmsh.fr's certificate, issued by 'CN=TERENA SSL CA 3,O=TERENA,L=Amsterdam,ST=Noord-Holland,C=NL':
Unable to locally verify the issuer's authority.
I tried to bypass the certificate check with HttpOverrides as documented here but it didn't work:
flutter/flutter#19588 (comment)
It fails with this uninformative error:
onPlayerError MediaPlayer error with what:MEDIA_ERROR_UNKNOWN {what:1} extra:MEDIA_ERROR_SYSTEM
Platform: Android 10
The text was updated successfully, but these errors were encountered: