From d97ef46b578e6cfa4cd7db2cbab912bebc415903 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 30 May 2022 14:28:38 -0400 Subject: [PATCH] Add defaults for RecordingSource and AnalysisSource to prevent warnings when creating new monitor --- web/includes/Monitor.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index f09608518..3710698f0 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -128,6 +128,8 @@ public static function getStatuses() { 'Capturing' => 'Always', 'Analysing' => 'Always', 'Recording' => 'Always', + 'RecordingSource' => 'Primary', + 'AnalysisSource' => 'Primary', 'Enabled' => array('type'=>'boolean','default'=>1), 'Decoding' => 'Always', 'JanusEnabled' => array('type'=>'boolean','default'=>0),