-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
hls.js setup for live streams (webOS) #5493
Comments
If you see this warning, but no issues in playback, then the problem is in how HLS.js polls hls.js/src/controller/gap-controller.ts Line 12 in a58ce98
hls.js/src/controller/gap-controller.ts Lines 150 to 153 in a58ce98
I'm tracking #5274 for this issue when starting playback or coming out of seeks in Safari - in that case even replacing polling with event based stall detection fails in some sessions (so maybe more of a Safari issue). I think ultimately we should only report under-buffer stalls when there is a buffer gap and perhaps only suggest looking out for frame drops in scenarios where the buffer is provisioned (even if provisioned late). The latter is work I'm doing for live streams in response to #3596. |
@robwalch Sometime, I can see some frame freezes when warning Also, warning |
Don't do:
|
You should start with the defaults and only change what you need to - like setting |
seek to |
@robwalch Sorry, for this question, is there any code example how it should work |
@robwalch How I can catch |
@robwalch Could you please answer me on my question above? |
You shouldn't have to. The player does this for you, unless you set hls.js/src/controller/base-stream-controller.ts Lines 1309 to 1348 in a58ce98
If the player is stuck when seeking to |
@robwalch It's looks mostly as frame slide show for 1-3 seconds, then playback works fine again |
@robwalch #EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=2654208,CODECS="avc1.64001f,mp4a.40.2",RESOLUTION=1280x720
profile_0/chunklist.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1937408,CODECS="avc1.4d401f,mp4a.40.2",RESOLUTION=960x540
profile_1/chunklist.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1118208,CODECS="avc1.4d401e,mp4a.40.2",RESOLUTION=640x360
profile_2/chunklist.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=657408,CODECS="avc1.42c015,mp4a.40.2",RESOLUTION=480x270
profile_3/chunklist.m3u8 |
@robwalch Also we can see this warning while video freezing |
Target duration and number of segments would be in "chunklist.m3u8" |
Hi @robwalch, |
Yes. https://github.com/video-dev/hls.js/blob/master/docs/API.md#livesyncdurationcount |
Closing due to inactivity. Please file a new issue (Bug Report) if you have trouble with live streaming. Sharing a sample for debugging of the stream is preferred. |
What do you want to do with Hls.js?
We have a media project where we are playing live stream on LG TV using HLS JS.
We are facing video freezing after 5-10 minutes of watching and in some cases video stoped at all.
What is the best settings for TV to avoid video freezing?
Also, facing this warning very often
ex.
oftenPlayback stalling at @88.711 due to low buffer ({"len":13.264333000000008,"start":0,"end":101.975333})
What have you tried so far?
Update HLS Js to the latest version
Thanks in advance!
The text was updated successfully, but these errors were encountered: