mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-24 20:11:56 -08:00
hls: upgrade hls.js and enable progressive mode
This commit is contained in:
parent
a67e8b13b1
commit
e3ecd4a11c
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ html, body {
|
|||
|
||||
<video id="video" muted controls autoplay></video>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/hls.js@1.0.0"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/hls.js@1.1.1"></script>
|
||||
|
||||
<script>
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ const create = () => {
|
|||
|
||||
} else {
|
||||
const hls = new Hls({
|
||||
progressive: false,
|
||||
progressive: true,
|
||||
});
|
||||
|
||||
hls.on(Hls.Events.ERROR, (evt, data) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue