1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/research/players/js
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>
2024-02-05 21:37:29 +08:00
..
adapter-7.4.0.js For #1638, #307, use webrtc adapter.js for demo. 2020-03-14 21:14:17 +08:00
adapter-7.4.0.min.js For #1638, #307, use webrtc adapter.js for demo. 2020-03-14 21:14:17 +08:00
AdobeFlashPlayerInstall.swf extract the components of js 2013-12-25 12:57:30 +08:00
bootstrap.min.js extract the components of js 2013-12-25 12:57:30 +08:00
dash-v4.5.1.all.min.js DASH: Fix number mode bug to make it run. v5.0.96 (#3240) 2022-11-24 18:13:49 +08:00
dash.all.min.js.map DASH: Fix number mode bug to make it run. v5.0.96 (#3240) 2022-11-24 18:13:49 +08:00
hls-1.4.14.min.js Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 2024-02-05 21:37:29 +08:00
hls.min.js.map Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 2024-02-05 21:37:29 +08:00
jquery-1.12.2.min.js Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:28:10 +08:00
jquery-1.12.2.min.map Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:28:10 +08:00
json2.js refine the ui, link the players to the api server static dir 2013-12-25 23:42:23 +08:00
mpegts-1.7.3.min.js RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2023-04-08 09:18:10 +08:00
mpegts.js.map RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2023-04-08 09:18:10 +08:00
srs.log.js change ui version to 1.15, fix the publiser bug, support chrome/firefox/safari/ie browsers. 2013-12-26 08:56:13 +08:00
srs.page.js RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 v6.0.97 (#3852) 2023-11-04 16:21:44 +08:00
srs.player.js Detect whether flash enabled for srs-player. 3.0.73 2019-12-18 11:06:01 +08:00
srs.publisher.js refine bandwidth test 2013-12-27 18:49:34 +08:00
srs.sdk.js WebRTC: Support WHEP for play. v5.0.182 v6.0.80 (#3404) 2023-09-21 18:41:33 +08:00
srs.utility.js refine the demo pages, move scripts after body. 2015-08-20 15:19:43 +08:00
swfobject.js refine the ui, add osmf/jwplayer 2013-12-18 12:37:46 +08:00
winlin.utility.js Replace deprecated String.prototype.substr() (#2948) 2022-03-07 08:02:27 +08:00