mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-28 01:08:27 -04:00
Allow RTSPtoWeb streams for zone editing (#3750)
* Allow RTSPtoWeb streams for zone editing * Fix quoting
This commit is contained in:
1 parent
97bb130cd1
commit
95655c9043
2 files changed
+4
No files matched your search
@@ -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() ?>',
|
||||
|
||||
@@ -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() ?>',
|
||||
|
||||
Reference in new issue
Block a user