-
Notifications
You must be signed in to change notification settings - Fork 74
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
How to pass through param to fvp? #175
Comments
You can call registerWith(options: { After waiting for init This logically should override the default parameters, sadly I can't change the code since I am not planning to maintain the package anymore Hopefully this fixes the issue for you, and let me know if there is something I can help with |
got it, thanks a lot |
It's okay, take your time, And hopefully this fix is good enough |
I'm back to report the progress. Since fvp side issues use Chinese for talking, I will give a short brief about that: first, we add log to find what happend, and found registerWith(options: {
'player': {
'avio.tls_verify': '0',
},
}); then test with this code above, also can't play, still tls error, fvp's author said the code above didn't take effect because his ffmpeg's reason, and he found gnutls's ffmpeg can play, we should try replace ffmpeg's file in complied folder, use gnutls's ffmpeg replace fvp's ffmpeg after replacement, we can play the video, but only seconds and then stop, it's because ffmpeg think video stream end, even we use ffmpeg's ffplay.exe directly play the url, it's still this situation detail info&log can be see in the issues on fvp side also thanks to you zezo357, I think you can close this issue. |
Thank you for keeping me updated, just a question did you try the same url with media_kit? It uses mpv and ffpmeg, but maybe they solved this problem If you didn't try it, I think you can download the example in the repo for the platform you want to test, and just give it a try using your url Let me know if that worked or not |
I didn't try before, but fvp's author mentioned it(wang-bin/fvp#22 (comment) quote and translate are follow quote:
translate(forgive my poor english): then, as above mentioned, fvp's author guide me replace ffmpeg to gnutls's one to test I give media_kit's example a try,didn't work, just a black screen .
here is the log:
|
If you don't mind, can you open an issue in media_kit just for future reference so it gets fixed when time for it comes? I am sad it didn't work for you, but I guess this is due to ffpmeg so it can't be avoided, if you are using video_player check the other packages that define a platform for desktop (most has tight steps or requirement to work) but it won't hurt giving them a try Btw your English is good don't worry about it, hopefully you find a fix for this issue |
Thanks for your encouragement. I saw you opened a issue on media_kit due to issue 121 here, tomorrow I will write a brief there to give alexmercerind a reference. |
Okay I wrote a brief there, hopefully this can give alexmercerind a reference and helpful to find&solve the problem. |
I'm trying to solve problem(#121) on Windows Platform, Recently I open an issue on fvp( wang-bin/fvp#22 ),After talk with its author, I believe #121 is caused by Let's Encrypt cert due to ffmpeg's log ( this log can be see on fvp issus url above ) , So I'd like to now where can I pass disable tls verify param to fvp on flutter_meedu_videoplayer?
I checked
initMeeduPlayer()
function , find thisaccording to fvp author on the issue, I need pass param to
registerWith()
like this.Could you please tell me that can I do this at now time, or you need modify your code to provide this option? if can, cloud you please give me a code demo about how to pass this param to fvp.
Thank you very much.
The text was updated successfully, but these errors were encountered: