diff --git a/web/skins/classic/views/_monitor_source_nvsocket.html b/web/skins/classic/views/_monitor_source_nvsocket.php
similarity index 56%
rename from web/skins/classic/views/_monitor_source_nvsocket.html
rename to web/skins/classic/views/_monitor_source_nvsocket.php
index 2a1567dfe..ebaf93861 100644
--- a/web/skins/classic/views/_monitor_source_nvsocket.html
+++ b/web/skins/classic/views/_monitor_source_nvsocket.php
@@ -1,13 +1,21 @@
| |
| |
- | |
+ | |
- | |
- () | |
- () | |
+
+ |
+ Colours() ); ?> |
+
+ () |
+ |
+
+
+ () |
+ |
+
| |
| Orientation() );?> |
diff --git a/web/skins/classic/views/event.php b/web/skins/classic/views/event.php
index 263009ffe..80d29bdc0 100644
--- a/web/skins/classic/views/event.php
+++ b/web/skins/classic/views/event.php
@@ -178,6 +178,7 @@ if ( ZM_WEB_STREAM_METHOD == 'mpeg' && ZM_MPEG_LIVE_FORMAT ) {
outputVideoStream( "evtStream", $streamSrc, reScale( $Event->Width(), $scale ), reScale( $Event->Height(), $scale ), ZM_MPEG_LIVE_FORMAT );
} else {
$streamSrc = $Event->getStreamSrc( array( 'mode'=>'jpeg', 'frame'=>$fid, 'scale'=>$scale, 'rate'=>$rate, 'maxfps'=>ZM_WEB_VIDEO_MAXFPS, 'replay'=>$replayMode) );
+Warning("Streamsrc: $streamSrc");
if ( canStreamNative() ) {
outputImageStream( 'evtStream', $streamSrc, reScale( $Event->Width(), $scale ), reScale( $Event->Height(), $scale ), validHtmlStr($Event->Name()) );
} else {
diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php
index ef15bf1e8..b29886b1e 100644
--- a/web/skins/classic/views/monitor.php
+++ b/web/skins/classic/views/monitor.php
@@ -392,9 +392,9 @@ if ( ZM_HAS_V4L2 ) {
}
$Colours = array(
- translate('8BitGrey') => 1,
- translate('24BitColour') => 3,
- translate('32BitColour') => 4
+ '1' => translate('8BitGrey'),
+ '3' => translate('24BitColour'),
+ '4' => translate('32BitColour')
);
$orientations = array(
@@ -803,7 +803,10 @@ switch ( $tab ) {
Method() == 'v4l1' ) {
?>
- | |
+
+ |
+ |
+
| |
| |
Type() == 'NVSocket' ) {
-include('monitor_source_nvsocket.php');
+include("_monitor_source_nvsocket.php");
} else if ( $monitor->Type() == 'Remote' ) {
?>
| Protocol(), "updateMethods( this );if(this.value=='rtsp'){\$('RTSPDescribe').setStyle('display','table-row');}else{\$('RTSPDescribe').hide();}" ); ?> |