-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
playing a m3u8 file throws error #15
Comments
In android url: https://content.jwplatform.com/manifests/vM7nH0Kl.m3u8 [√] Flutter (Channel stable, 3.13.0, on Microsoft Windows [Version 10.0.19044.1889], locale zh-CN) |
the fix is to set ffmpeg https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-setpropertyconst-stdstring-key-const-stdstring-value this only for predefined or it can be used to set ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto |
https://github.com/wang-bin/fvp/blob/master/lib/src/video_player_mdk.dart#L121 try player.setProperty('avio.protocol_whitelist', 'file,http,https,tcp,tls,crypto'); |
I will add an option in |
That will be awesome, just as an idea, maybe as a map and they get set on the launch of the player? I don't know if that will make the start of the video slow or not, it's just a thought |
Yes. It's the only way to control the player backend.
No. The speed depends on network, stream bit rate etc, not simple lines of code. |
That's awesome then❤️ |
i can confirm adding the line made it work
just a suggestion if that can be the default it will be easier on people and it will be the same as video_player |
should i close this issue, or leave it until the release? |
Exception: No Stream for textureId: -1.
logs
The text was updated successfully, but these errors were encountered: