diff --git a/web/skins/classic/views/events.php b/web/skins/classic/views/events.php index cfbe90383..034e908ef 100644 --- a/web/skins/classic/views/events.php +++ b/web/skins/classic/views/events.php @@ -258,7 +258,7 @@ while ( $event_row = dbFetchNext($results) ) { echo ''; $imgSrc = $event->getThumbnailSrc(array(),'&'); $streamSrc = $event->getStreamSrc(array( - 'mode'=>'jpeg', 'scale'=>$scale, 'maxfps'=>ZM_WEB_VIDEO_MAXFPS, 'replay'=>'single'), '&'); + 'mode'=>'jpeg', 'scale'=>$scale, 'maxfps'=>ZM_WEB_VIDEO_MAXFPS, 'replay'=>'single', 'rate'=>'400'), '&'); $imgHtml = ''. validHtmlStr('Event '.$event->Id()) .''; echo ''.$imgHtml.''; diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index 303e335ee..5ac52494e 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -783,19 +783,22 @@ include('_monitor_source_nvsocket.php'); ?> Protocol(), "updateMethods( this );if(this.value=='rtsp'){\$('RTSPDescribe').setStyle('display','table-row');}else{\$('RTSPDescribe').hide();}" ); ?> + + + +Protocol() || $monitor->Protocol() == 'http' ) { -?> - Method() ); ?> -Method() ); } else { -?> - Method() ); ?> -Method() ); } ?> - + + + - + Type() == 'File' ) { ?> @@ -803,23 +806,44 @@ include('_monitor_source_nvsocket.php'); Type() == 'cURL' ) { ?> - - - + + + Type() == 'WebSite' ) { ?> - - () - () - + + + + + + () + + + + () + + + + + + Type() == 'Ffmpeg' || $monitor->Type() == 'Libvlc' ) { + } else if ( $monitor->Type() == 'Ffmpeg' || $monitor->Type() == 'Libvlc' ) { ?> - -  ()Method() ); ?> + + + + + + ) + Method()) ?> + -  (Type()), 'zmOptionHelp', 'optionhelp', '?' ) ?>) +  (Type()), 'zmOptionHelp', 'optionhelp', '?' ) ?>) Type() != 'NVSocket' && $monitor->Type() != 'WebSite' ) { + if ( $monitor->Type() != 'NVSocket' && $monitor->Type() != 'WebSite' ) { ?> - Colours() ); ?> - + + + Colours()) ?> + () @@ -884,18 +910,22 @@ if ( $monitor->Type() != 'NVSocket' && $monitor->Type() != 'WebSite' ) { Orientation());?> Type() == 'Local' ) { + } + if ( $monitor->Type() == 'Local' ) { ?> - - + + Deinterlacing())?> + +Type() != 'WebSite' ) { ?> - + + + Deinterlacing())?> + - Type() == 'Remote' ) { ?> Protocol()!= 'rtsp' ) { echo ' style="display:none;"'; } ?>> () RTSPDescribe() ) { ?> checked="checked"/> @@ -939,15 +969,17 @@ if ( $monitor->Type() == 'Local' ) { $videowriteropts[1] = 'X264 Encode'; - if ($monitor->Type() == 'Ffmpeg' ) + if ( $monitor->Type() == 'Ffmpeg' ) $videowriteropts[2] = 'H264 Camera Passthrough'; else $videowriteropts[2] = array('text'=>'H264 Camera Passthrough - only for FFMPEG','disabled'=>1); - echo htmlselect( 'newMonitor[VideoWriter]', $videowriteropts, $monitor->VideoWriter() ); + echo htmlselect('newMonitor[VideoWriter]', $videowriteropts, $monitor->VideoWriter()); ?> - + + + Type() == 'Ffmpeg' ) { ?> RecordAudio() ) { ?> checked="checked"/> @@ -962,22 +994,52 @@ if ( $monitor->Type() == 'Local' ) { case 'timestamp' : { ?> - - - - + + + + + + + + + + + + + + + LabelSize()) ?> + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + Type() == 'Local' ) { ?> - Controllable() ) { ?> checked="checked"/> + Controllable() ) { ?> checked="checked"/> + ControlId()); @@ -1011,20 +1074,19 @@ if ( canEdit('Control') ) { TrackMotion() ) { ?> checked="checked"/> - translate('None'), - '0' => translate('Home'), - '1' => translate('Preset').' 1', - ); -?> - ReturnLocation()); ?> + translate('None'), + '0' => translate('Home'), + '1' => translate('Preset').' 1', + ); +echo htmlSelect('newMonitor[ReturnLocation]', $return_options, $monitor->ReturnLocation()); ?>