From 949ec8e2a8a5ea098036cd7ce56a316e01501697 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 27 Oct 2021 13:38:49 -0700 Subject: [PATCH] testing audio-only version this will avoid triggering the error --- llamigos-vp9-mp3-opus.m3u8 | 10 +++++++--- ogv.html | 4 ++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/llamigos-vp9-mp3-opus.m3u8 b/llamigos-vp9-mp3-opus.m3u8 index 5fd9db5..97ad7cd 100644 --- a/llamigos-vp9-mp3-opus.m3u8 +++ b/llamigos-vp9-mp3-opus.m3u8 @@ -9,12 +9,14 @@ caminandes-llamigos.webm.1080p.vp9.fast.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=2500000,RESOLUTION=1280x720,FRAME-RATE=24.0,CODECS="vp09.00.10.08,opus",AUDIO="opus" caminandes-llamigos.webm.720p.vp9.fast.m3u8 -#EXT-X-STREAM-INF:BANDWIDTH=875000,RESOLUTION=854x480,FRAME-RATE=24.0,CODECS="vp09.00.10.08,opus",AUDIO="opus" +#EXT-X-STREAM-INF:BANDWIDTH=850000,RESOLUTION=854x480,FRAME-RATE=24.0,CODECS="vp09.00.10.08,opus",AUDIO="opus" caminandes-llamigos.webm.480p.vp9.fast.m3u8 -#EXT-X-STREAM-INF:BANDWIDTH=375000,RESOLUTION=640x360,FRAME-RATE=24.0,CODECS="vp09.00.10.08,opus",AUDIO="opus" +#EXT-X-STREAM-INF:BANDWIDTH=350000,RESOLUTION=640x360,FRAME-RATE=24.0,CODECS="vp09.00.10.08,opus",AUDIO="opus" caminandes-llamigos.webm.360p.vp9.fast.m3u8 -#EXT-X-STREAM-INF:BANDWIDTH=275000,RESOLUTION=426x240,FRAME-RATE=24.0,CODECS="vp09.00.10.08,opus",AUDIO="opus" +#EXT-X-STREAM-INF:BANDWIDTH=250000,RESOLUTION=426x240,FRAME-RATE=24.0,CODECS="vp09.00.10.08,opus",AUDIO="opus" caminandes-llamigos.webm.240p.vp9.fast.m3u8 +#EXT-X-STREAM-INF:BANDWIDTH=96000,CODECS="opus",AUDIO="opus" +caminandes-llamigos.webm.audio.opus.m3u8 # MP3 for Safari #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080,FRAME-RATE=24.0,CODECS="vp09.00.10.08,mp4a.40.34",AUDIO="mp3" @@ -27,3 +29,5 @@ caminandes-llamigos.webm.480p.vp9.fast.m3u8 caminandes-llamigos.webm.360p.vp9.fast.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=275000,RESOLUTION=426x240,FRAME-RATE=24.0,CODECS="vp09.00.10.08,mp4a.40.34",AUDIO="mp3" caminandes-llamigos.webm.240p.vp9.fast.m3u8 +#EXT-X-STREAM-INF:BANDWIDTH=128000,CODECS="mp4a.40.34",AUDIO="mp3" +caminandes-llamigos.webm.audio.mp3.m3u8 diff --git a/ogv.html b/ogv.html index 084ffbd..7e08159 100644 --- a/ogv.html +++ b/ogv.html @@ -145,6 +145,8 @@ overrideNative: true, useDevicePixelRatio: true }; + playerConfig.html5.featuresNativeVideoTracks = true; + playerConfig.html5.featuresNativeAudioTracks = true; console.log('will do mse'); } else { console.log('wont do mse'); @@ -181,6 +183,7 @@ hls1.classList.add('vjs-default-skin'); var vjs1 = videojs(hls1, playerConfig); + /* vjs1.on('error', function failover() { console.log('got error'); var error = vjs1.error(); @@ -198,6 +201,7 @@ } vjs1.off('error', failover); }); + */ // this fails on Chrome with a blob issue on the HLS player :D //vjs1.load();