Use function buildMonitorsFilters instead of using ob_get_contents (montage.php)

pull/4091/head
IgorA100 2024-07-16 00:43:25 +03:00 committed by GitHub
parent d44e6ab807
commit fd98fc97bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -181,10 +181,10 @@ if (!empty($_REQUEST['maxfps']) and validFloat($_REQUEST['maxfps']) and ($_REQUE
session_write_close();
ob_start();
include('_monitor_filters.php');
$filterbar = ob_get_contents();
ob_end_clean();
$resultMonitorFilters = buildMonitorsFilters();
$filterbar = $resultMonitorFilters['filterBar'];
$displayMonitors = $resultMonitorFilters['displayMonitors'];
$need_hls = false;
$need_janus = false;