Commit Graph

12 Commits (eb788a62ad6fa81bca15f73f8feb873fb1b139cb)

Author SHA1 Message Date
Winlin 22c2469414
Upgrade hls.js and set in low latency mode. v6.0.112 (#3924)
HLS typically has a delay of around 30 seconds, roughly comprising three
segments, each lasting 10 seconds. We can reduce the delay to about 5
seconds by lowering the segment duration to 2 seconds and starting
playback from the last segment, achieving a stable delay.

Of course, this requires setting the OBS's GOP to 1 second, and the
profile to baseline, preset to fast, and tune to zerolatency.
Additionally, updating a few configurations in the hls.js player is
necessary, such as setting it to start playback from the last segment,
setting the maximum buffer, and initiating accelerated playback to
reduce latency.

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Co-authored-by: john <hondaxiao@tencent.com>
1 year ago
winlin 93aa0eb5ba Squash: Fix bugs 3 years ago
winlin 7d3ec991e1 Squash: Merge SRS 4.0 3 years ago
winlin 13d015b8fd Squash: Fix random bug 4 years ago
winlin f043a7eb48 SquashSRS4: Allow RTC play before publish. 4 years ago
winlin 3d74b0efc9 SquashSRS4: Add crossdomain.xml for install script. 4 years ago
winlin d4a8a72388 SquashSRS4: Add console. Disable cherrypy by default. 4 years ago
winlin 1ffd5fd455 rename org simple-rtmp-server to ossrs 9 years ago
winlin 115daa3cc1 migarate from winlinvip to srs org 10 years ago
winlin 1ae9178605 add favicon.ico, change to 0.9.65 11 years ago
winlin 702ad69817 support query in index.html 11 years ago
winlin 7094b6f437 set default to chat. 11 years ago