SSL update 2

This commit is contained in:
Ivan
2023-10-04 23:57:42 +03:00
parent d0052ac4ca
commit c56ac28738
4 changed files with 5 additions and 4 deletions

View File

@ -312,7 +312,8 @@
let currentCameraGroup = 1;
const camerasPerGroup = 5;
var totalCameras = 12 - 1;
const baseURL = "http://{{VIRTUAL_HOST}}/http/live.flv";
const isSecure = window.location.protocol === "https:";
const baseURL = "https://{{VIRTUAL_HOST}}/http/live.flv";
function stopAllCameras() {
flvPlayers.forEach(player => {