From aab62c5a7e76ba4c955158b28a0d1798fceea447 Mon Sep 17 00:00:00 2001 From: baudneo <86508179+baudneo@users.noreply.github.com> Date: Mon, 9 Jan 2023 17:11:54 -0700 Subject: [PATCH] Add Janus RTSP session timeout to PHP (front end) :alembic: Signed-off-by: baudneo <86508179+baudneo@users.noreply.github.com> --- web/includes/Monitor.php | 1 + web/includes/actions/monitor.php | 1 + web/skins/classic/views/monitor.php | 12 ++++++++++++ 3 files changed, 14 insertions(+) diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index e87f227d8..3edd0c63c 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -149,6 +149,7 @@ public static function getStatuses() { 'Janus_Profile_Override' => '', 'Janus_Use_RTSP_Restream' => array('type'=>'boolean','default'=>0), 'Janus_RTSP_User' => null, + 'Janus_RTSP_Session_Timeout' => array('type'=>'integer','default'=>0), 'LinkedMonitors' => array('type'=>'set', 'default'=>null), 'Triggers' => array('type'=>'set','default'=>''), 'EventStartCommand' => '', diff --git a/web/includes/actions/monitor.php b/web/includes/actions/monitor.php index 8acfa6b95..9c38f492f 100644 --- a/web/includes/actions/monitor.php +++ b/web/includes/actions/monitor.php @@ -93,6 +93,7 @@ if ($action == 'save') { 'JanusEnabled' => 0, 'JanusAudioEnabled' => 0, 'Janus_Use_RTSP_Restream' => 0, +// 'Janus_RTSP_Session_Timeout' => 0, 'Exif' => 0, 'RTSPDescribe' => 0, 'V4LMultiBuffer' => '', diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index 2c6ffd634..007e46a98 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -1251,6 +1251,18 @@ echo htmlSelect('newMonitor[OutputContainer]', $videowriter_containers, $monitor ?> + +