mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-24 14:36:09 -04:00
Add go2rtc support
This commit is contained in:
@@ -119,12 +119,15 @@ echo getNavBarHTML();
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
if ($monitor->JanusEnabled()) {
|
||||
if (defined('ZM_JANUS_PATH') and ZM_JANUS_PATH) {
|
||||
?>
|
||||
<script src="<?php echo cache_bust('js/adapter.min.js') ?>"></script>
|
||||
<script src="/javascript/janus/janus.js"></script>
|
||||
<?php
|
||||
}
|
||||
if (defined('ZM_GO2RTC_PATH') and ZM_GO2RTC_PATH) {
|
||||
echo '<script type="module" src="js/video-stream.js"></script>'.PHP_EOL;
|
||||
}
|
||||
?>
|
||||
<script src="<?php echo cache_bust('js/MonitorStream.js') ?>"></script>
|
||||
<?php xhtmlFooter() ?>
|
||||
|
||||
Reference in New Issue
Block a user