Allow RTSPtoWeb streams for zone editing (#3750)

* Allow RTSPtoWeb streams for zone editing

* Fix quoting
This commit is contained in:
baudneo authored and GitHub committed 2023-08-08 22:03:13 -05:00
1 parent 97bb130cd1
commit 95655c9043
2 files changed
+4

No files matched your search

+2
View File
@@ -71,6 +71,8 @@ monitorData[monitorData.length] = {
'width': <?php echo $monitor->ViewWidth() ?>,
'height':<?php echo $monitor->ViewHeight() ?>,
'janusEnabled':<?php echo $monitor->JanusEnabled() ?>,
'RTSP2WebEnabled': <?php echo $monitor->RTSP2WebEnabled() ?>,
'RTSP2WebType': '<?php echo $monitor->RTSP2WebType() ?>',
'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() ?>',
+2
View File
@@ -15,6 +15,8 @@ monitorData[monitorData.length] = {
'width': <?php echo $monitor->ViewWidth() ?>,
'height':<?php echo $monitor->ViewHeight() ?>,
'janusEnabled':<?php echo $monitor->JanusEnabled() ?>,
'RTSP2WebEnabled': <?php echo $monitor->RTSP2WebEnabled() ?>,
'RTSP2WebType': '<?php echo $monitor->RTSP2WebType() ?>',
'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() ?>',