mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-18 20:46:53 +00:00
hls: upgrade hls.js and enable progressive mode
This commit is contained in:
parent
a67e8b13b1
commit
e3ecd4a11c
@ -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…
Reference in New Issue
Block a user