Add Janus RTSP session timeout to PHP (front end) ⚗️
Signed-off-by: baudneo <86508179+baudneo@users.noreply.github.com>pull/3652/head
parent
8750e0e333
commit
aab62c5a7e
|
@ -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' => '',
|
||||
|
|
|
@ -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' => '',
|
||||
|
|
|
@ -1251,6 +1251,18 @@ echo htmlSelect('newMonitor[OutputContainer]', $videowriter_containers, $monitor
|
|||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr id="FunctionJanusRTSPSessionTimeout">
|
||||
<td><?php echo translate('Janus RTSP Session Timeout Override') ?></td>
|
||||
<td><input type="text" name="newMonitor[Janus_RTSP_Session_Timeout]" value="<?php echo $monitor->Janus_RTSP_Session_Timeout()?>"/>
|
||||
<?php
|
||||
if ( isset($OLANG['FUNCTION_JANUS_RTSP_SESSION_TIMEOUT']) ) {
|
||||
echo '<div class="form-text">'.$OLANG['FUNCTION_JANUS_RTSP_SESSION_TIMEOUT']['Help'].'</div>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr id="FunctionJanusUseRTSPRestream">
|
||||
<td><?php echo translate('Janus Use RTSP Restream') ?></td>
|
||||
<td><input type="checkbox" name="newMonitor[Janus_Use_RTSP_Restream]" value="1"<?php echo $monitor->Janus_Use_RTSP_Restream() ? ' checked="checked"' : '' ?>/>
|
||||
|
|
Loading…
Reference in New Issue