Merge branch 'master' into patch-530122

This commit is contained in:
IgorA100 authored and GitHub committed 2026-07-28 19:50:25 +03:00
commit 53ffeb6ff6
2 files changed
+25 -4

No files matched your search

+18 -3
View File
@@ -1784,7 +1784,12 @@ function MonitorStream(monitorData) {
stream.mode = this.player.substring(this.player.indexOf('_')+1);
}
const video_el = this.getAVStream();
if (video_el) video_el.muted = this.muted;
if (video_el) {
video_el.muted = this.muted;
} else {
console.warn(`go2rtc DOM element of video stream for monitor with ID=${this.id} not found`);
return;
}
this.handlerEventListenerStream(video_el);
clearInterval(this.statusCmdTimer); // Fix for issues in Chromium when quickly hiding/showing a page. Doesn't clear statusCmdTimer when minimizing a page https://stackoverflow.com/questions/9501813/clearinterval-not-working
@@ -1813,7 +1818,12 @@ function MonitorStream(monitorData) {
const rtsp2webModUrl = url;
const video_el = this.getAVStream();
if (video_el) video_el.muted = this.muted;
if (video_el) {
video_el.muted = this.muted;
} else {
console.warn(`rtsp2web DOM element of video stream for monitor with ID=${this.id} not found`);
return;
}
this.handlerEventListenerStream(video_el);
rtsp2webModUrl.username = '';
rtsp2webModUrl.password = '';
@@ -1914,7 +1924,12 @@ function MonitorStream(monitorData) {
stream.setAttribute("autoplay", "");
stream.setAttribute("muted", this.muted);
const video_el = this.getAVStream();
if (video_el) video_el.muted = this.muted;
if (video_el) {
video_el.muted = this.muted;
} else {
console.warn(`janus DOM element of video stream for monitor with ID=${this.id} not found`);
return;
}
this.handlerEventListenerStream(video_el);
if (ZM_JANUS_PATH) {
server = ZM_JANUS_PATH;
+7 -1
View File
@@ -261,7 +261,13 @@ var zmPanZoom = {
if (videoJs) videoJs.style.pointerEvents = 'none';
} else {
this.panZoom[id].setOptions({handleStartEvent: (event) => {}});
if (videoJs) videoJs.style.pointerEvents = '';
if (videoJs) {
if (this.shifted || this.ctrled || this.alted) {
videoJs.style.pointerEvents = 'none';
} else {
videoJs.style.pointerEvents = '';
}
}
}
},