Browse Source

hls: upgrade hls.js and enable progressive mode

pull/745/head
aler9 5 years ago
parent
commit
e3ecd4a11c
  1. 4
      internal/core/hls_muxer.go

4
internal/core/hls_muxer.go

@ -50,7 +50,7 @@ html, body { @@ -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 = () => { @@ -68,7 +68,7 @@ const create = () => {
} else {
const hls = new Hls({
progressive: false,
progressive: true,
});
hls.on(Hls.Events.ERROR, (evt, data) => {

Loading…
Cancel
Save