Add go2rtc support

This commit is contained in:
Isaac Connor
2025-09-25 10:44:40 -04:00
parent deb4d3411d
commit 73527671ad

View File

@@ -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() ?>