testing audio-only version

this will avoid triggering the error
This commit is contained in:
Brooke Vibber 2021-10-27 13:38:49 -07:00
parent 9d782dc963
commit 949ec8e2a8
2 changed files with 11 additions and 3 deletions

View file

@ -9,12 +9,14 @@
caminandes-llamigos.webm.1080p.vp9.fast.m3u8 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" #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 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 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 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 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 # 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" #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 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" #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 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

View file

@ -145,6 +145,8 @@
overrideNative: true, overrideNative: true,
useDevicePixelRatio: true useDevicePixelRatio: true
}; };
playerConfig.html5.featuresNativeVideoTracks = true;
playerConfig.html5.featuresNativeAudioTracks = true;
console.log('will do mse'); console.log('will do mse');
} else { } else {
console.log('wont do mse'); console.log('wont do mse');
@ -181,6 +183,7 @@
hls1.classList.add('vjs-default-skin'); hls1.classList.add('vjs-default-skin');
var vjs1 = videojs(hls1, playerConfig); var vjs1 = videojs(hls1, playerConfig);
/*
vjs1.on('error', function failover() { vjs1.on('error', function failover() {
console.log('got error'); console.log('got error');
var error = vjs1.error(); var error = vjs1.error();
@ -198,6 +201,7 @@
} }
vjs1.off('error', failover); vjs1.off('error', failover);
}); });
*/
// this fails on Chrome with a blob issue on the HLS player :D // this fails on Chrome with a blob issue on the HLS player :D
//vjs1.load(); //vjs1.load();