From 62742670b443e9173b55eb988d44141f0752d02d Mon Sep 17 00:00:00 2001 From: Moe Date: Tue, 5 Nov 2024 15:39:21 -0800 Subject: [PATCH] send monitor_watch_on to all connected clients when monitor restart --- libs/monitor.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/monitor.js b/libs/monitor.js index dda3468f..aa32045e 100644 --- a/libs/monitor.js +++ b/libs/monitor.js @@ -734,6 +734,13 @@ module.exports = function(s,config,lang){ break; case'start':case'record': await monitorStart(e) + s.tx({ + f: 'monitor_watch_on', + id: monitorId, + ke: groupKey, + subStreamChannel: s.group[groupKey].activeMonitors[monitorId].subStreamChannel, + warnings: s.group[groupKey].activeMonitors[monitorId].warnings || [] + }, `MON_${groupKey}${monitorId}`) break; default: console.log('No s.camera execute : ',selectedMode)