mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-25 12:32:01 -08:00
hls muxer: tune hls.js parameters
This commit is contained in:
parent
dedca93eca
commit
709d727eab
1 changed files with 3 additions and 3 deletions
|
|
@ -66,9 +66,9 @@ const create = () => {
|
|||
|
||||
} else {
|
||||
const hls = new Hls({
|
||||
progressive: false,
|
||||
liveSyncDurationCount: 2,
|
||||
liveMaxLatencyDurationCount: 3,
|
||||
progressive: true,
|
||||
liveSyncDurationCount: 3,
|
||||
liveMaxLatencyDurationCount: 4,
|
||||
});
|
||||
|
||||
hls.on(Hls.Events.ERROR, (evt, data) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue