-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[bug] corrupt when loading local hls files with asset protocol #3143
Comments
I am using the latest tauri @next , ❯ git log
commit efbf236 |
Thanks for the report. I'll look into this over the weekend. |
I don't think the webview supports loading m3u8 files directly. I also tried on Chrome and on Safari and it didn't work. Do you see any evidence this might work? |
asset::// protocol works with local m3u8 file.
and found it return an invalid range:
1. test with correct local m3u8 master and sub files , the player can play local m3u8 files2022-01-04 14:57:47.177643 UTC INFO may::io::sys::select - got wakeup event in select, id=0 2. same as step 1, if I switch the player page to another page , corrupt:
3. test with correct local m3u8 master files, if open the introspection tab, corrupt:2022-01-04 14:54:19.659310 UTC INFO may::io::sys::select - got wakeup event in select, id=0 |
test with below updated manager.rs by checking file/range before unwrap(), works now.
|
Describe the bug
currupt when loading local hls files with asset protocol
Reproduction
Expected behavior
load hls file m3u8 sucessfully
Platform and versions
Stack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: