lws: fix
This commit is contained in:
parent
850083225c
commit
14aafdf31a
@ -272,10 +272,13 @@ window.Cameras = {
|
|||||||
this.hlsOptions = opts.hlsConfig;
|
this.hlsOptions = opts.hlsConfig;
|
||||||
this.h265webjsOptions = opts.h265webjsConfig;
|
this.h265webjsOptions = opts.h265webjsConfig;
|
||||||
|
|
||||||
let useHls = Hls.isSupported();
|
var useHls;
|
||||||
if (!useHls && !this.hasFallbackSupport() && opts.hlsConfig !== undefined) {
|
if (opts.hlsConfig !== undefined) {
|
||||||
alert('Neither HLS nor vnd.apple.mpegurl is not supported by your browser.');
|
useHls = Hls.isSupported();
|
||||||
return;
|
if (!useHls && !this.hasFallbackSupport()) {
|
||||||
|
alert('Neither HLS nor vnd.apple.mpegurl is not supported by your browser.');
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var camId in opts.camsByType) {
|
for (var camId in opts.camsByType) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user