-
Notifications
You must be signed in to change notification settings - Fork 425
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
Live stream issues on Tizen 2.4 since 2.5.0 #1134
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
I had the same issue.. my guess was that it is related with the chromium version that tizen uses, there was an update related with pts/dts that was done for modern browsers |
"had"? So how was it solved you mean, by some chromium/browser update? Can you find out which chromium version my tizen is using with some debug call? I have a 2020 TV as well - don't remember if I got this issue there or not... |
Analysed some more - it seems in 2.4.2 seekable.lenth equals 0 which means it will never end up in the resync part. This goes on forever: seekable.start(0) : 8 |
Adding a currentTime > 0 to the beforeSeekableWindow_ to avoid the loop didn't really make it work. |
From what I can gather, though, I haven't tried it on a real device and the emulator isn't working for me, all these issues with old TVs is the switch from DTS to PTS in chrome and other browsers that we followed to support them. Unfortunately, there likely isn't a good way for us to support those older browsers which use DTS while supporting the newer browsers which use PTS. |
How can you notice that https://github.com/videojs/http-streaming/releases/tag/v2.5.0 changed anything related to DTS/PTS? Is there anyway to confirm that this (=DTS vs PTS) is the issue I'm getting? I tried once more with latest video.js and then actually any streams (not just live streams) fails to play - they end up in stalled instead of resync loop though.... |
The dummy way I used to check that the problem was related with pts/dts was: compiling http-streaming switching ptsTime -> dtsTime in segment.js |
Ok thx, but don't know how to build it... |
I changed ptsTime -> dtsTime and built manually, but still doesn't work. Any other suggestions on differences between 2.5 and 2.4.2? Also saw that vhs-utils had been stepped - tried to use the old version, lead to some compilation warning and still resync... Tried |
Seems I kind of solved it - but can't understand from/why there's a problem from b072c93 imported/videojs-http-streaming.min.js (4) :syncPoint for [time: 0] chosen with strategy [Playlist]: [time:0, segmentIndex:0] If I change to it works. |
Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:
|
…rsing codecs from files (#14) BREAKING CHANGE: toUint8 in byte-helpers functions slightly differently BREAKING CHANGE: getId3Offset is exported from id3-helpers rather than containers We can now parse the container for and many of the codecs within (where applicable) for mp4, avi, ts, mkv, webm, ogg, wav, aac, ac3 (and ec3 which is contained in ac3 files), mp3, flac, raw h265, and raw h264. Codec parsing has also been extended to parse codec details in a file for vp09, avc (h264), hevc (h265), av1, and opus Finally we have the following additional features to our parsing of codec/container information: * skipping multiple id3 tags at the start of a file for flac, mp3, and aac * discarding emulation prevention bits (in h264, h265) * parsing raw h264/h265 to get codec params for ts, avi, and even raw h264/h265 files
Tizen's documentation seems to imply that TypedArrays on TVs weren't available until 3.0, but on mobile it was available on 2.4 (https://docs.tizen.org/application/web/guides/w3c/supplement/typedarray/#related-information). Are you running on TV or on Mobile? Though, based on your comment, it seems like it worked with just gating the |
Yes running TV 2.4. Do you want me to try |
@JeppeTh can you check if |
And whether stuff like |
Yes sure - I'll check |
Thanks! |
Seems ArrayBuffer and Uint8Array exists but ArrayBuffer.isView is undefined as you were guessing. |
Awesome! Thanks for checking. Then, I'll work on getting releases out tomorrow, but should then be fixed with videojs/vhs-utils#33 and #1258 |
Great - thx! |
This is now published in Video.js 7.19.2! |
Description
Since 2.5.0 I have issues with some HLS live streams.
Hangs on repeated vhs-live-resync.
Not sure how to gather more information...
Sources
Steps to reproduce
Results
Expected
On 2.4.2 playback starts
Error output
More than once per seconds I get
Usage:vhs-live-resync
State:0
Additional Information
videojs-http-streaming version
videojs-http-streaming 2.5.0
videojs version
Any video.js version.
Browsers
Platforms
Tizen 2.4
Other Plugins
Other JavaScript
The text was updated successfully, but these errors were encountered: