rtsp should be lower case
This commit is contained in:
parent
de5b9c6dae
commit
6c8e8368e1
|
@ -533,7 +533,7 @@ if ( ZM_HAS_V4L && ($tab != 'source' || $monitor->Type != 'Local') ) {
|
||||||
if ( $tab != 'source' || $monitor->Type != 'Remote' )
|
if ( $tab != 'source' || $monitor->Type != 'Remote' )
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<input type="hidden" name="newMonitor[Protocol]" value="<?php echo validHtmlStr($monitor->Protocol) ?>"/>
|
<input type="hidden" name="newMonitor[Protocol]" value="<?php echo validHtmlStr($monitor->Protocol()) ?>"/>
|
||||||
<input type="hidden" name="newMonitor[Host]" value="<?php echo validHtmlStr($monitor->Host) ?>"/>
|
<input type="hidden" name="newMonitor[Host]" value="<?php echo validHtmlStr($monitor->Host) ?>"/>
|
||||||
<input type="hidden" name="newMonitor[Port]" value="<?php echo validHtmlStr($monitor->Port) ?>"/>
|
<input type="hidden" name="newMonitor[Port]" value="<?php echo validHtmlStr($monitor->Port) ?>"/>
|
||||||
<?php
|
<?php
|
||||||
|
@ -576,7 +576,7 @@ if ( $tab != 'storage' ) {
|
||||||
<input type="hidden" name="newMonitor[RecordAudio]" value="<?php echo validHtmlStr($monitor->RecordAudio) ?>"/>
|
<input type="hidden" name="newMonitor[RecordAudio]" value="<?php echo validHtmlStr($monitor->RecordAudio) ?>"/>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
if ( $tab != 'source' || ($monitor->Type != 'Remote' && $monitor->Protocol != 'RTSP'))
|
if ( $tab != 'source' || ($monitor->Type != 'Remote' && $monitor->Protocol != 'rtsp'))
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<input type="hidden" name="newMonitor[RTSPDescribe]" value="<?php echo validHtmlStr($monitor->RTSPDescribe) ?>"/>
|
<input type="hidden" name="newMonitor[RTSPDescribe]" value="<?php echo validHtmlStr($monitor->RTSPDescribe) ?>"/>
|
||||||
|
|
Loading…
Reference in New Issue