Add player and go2rtc options to monitor in zone edit

pull/4342/merge
Isaac Connor 2025-09-25 10:10:47 -04:00
parent 37a1159b92
commit a8fe4711a2
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ monitorData[monitorData.length] = {
'RTSP2WebEnabled': <?php echo $monitor->RTSP2WebEnabled() ?>,
'RTSP2WebType': '<?php echo $monitor->RTSP2WebType() ?>',
'RTSP2WebStream': '<?php echo $monitor->RTSP2WebStream() ?>',
'DefaultPlayer':'<?php echo $monitor->DefaultPlayer() ?>',
'Go2RTCEnabled': <?php echo $monitor->Go2RTCEnabled() ?>,
'url': '<?php echo $monitor->UrlToIndex( ZM_MIN_STREAMING_PORT ? ($monitor->Id() + ZM_MIN_STREAMING_PORT) : '') ?>',
'url_to_zms': '<?php echo $monitor->UrlToZMS( ZM_MIN_STREAMING_PORT ? ($monitor->Id() + ZM_MIN_STREAMING_PORT) : '') ?>',
'type': '<?php echo $monitor->Type() ?>',