Open Silfalion opened 2 years ago
The error appears to be a certificate issue. It is unlikely that a newer exo player will help. But you can try https://github.com/shiyiya/betterplayer
Can you provide sample url which causes this error? It's unlikely BetterPlayer issue, I think you're missing some configuration on your side.
Can you provide sample url which causes this error? It's unlikely BetterPlayer issue, I think you're missing some configuration on your side.
Hey, the issue got fixed on its own so maybe the YouTube certificate had issues. Everything's fine now. While still here wanted to thank you for this amazing package , your work and patience. You rock! Hope it will be less frustrating for you in the future and thank you again.
The error appears to be a certificate issue. It is unlikely that a newer exo player will help. But you can try https://github.com/shiyiya/betterplayer
Yes, it was likely that. It's working fine now and sorry for taking so much time to reply.
@jhomlala Check with this link
History check
Yes
Describe the bug When starting a youtube video on Android 12, a certificate error is returned. It's fixed through changing the the httpclient. That's just a side issue.
The main issue occured with Exoplayer returning this error message:
The error doesn't happen on Android 12 and prior and IOS.
I'm not sure it's the issue but could it be because betterPlayer still depends on exoplayer 2.15? The 2 last versions introduced fixes for android 12 compatibility.
I'm using youtube explode to extract the .googlevideo.com url. And this works fine on prior versions of android
To Reproduce Steps to reproduce the behavior:
*Example code Paste here your minimal reproducible code. This code should be ready to copy-paste-run.
Code used to fetch the URL:
Code used to setup the controller:
Sorry, the code is tangled so I can't provide the whole code rightaway.
Expected behavior Video loading and starting to play.
Video loaded and playing Screenshots If applicable, add screenshots to help explain your problem.
Flutter doctor
Better Player version
Smartphone (please complete the following information):
Additional context