From 6eda3eff7223938db674277991f6799ee6a8b908 Mon Sep 17 00:00:00 2001 From: Andy Bauer Date: Sat, 26 Mar 2016 08:38:28 -0500 Subject: [PATCH] do not set maxfps fields during onvif probe --- web/skins/classic/views/onvifprobe.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/skins/classic/views/onvifprobe.php b/web/skins/classic/views/onvifprobe.php index c15568eaf..700246936 100644 --- a/web/skins/classic/views/onvifprobe.php +++ b/web/skins/classic/views/onvifprobe.php @@ -242,8 +242,9 @@ else if($_REQUEST['step'] == "2") // copy technical details $monitor['Width'] = $profile['Width']; $monitor['Height'] = $profile['Height']; - $monitor['MaxFPS'] = $profile['MaxFPS']; - $monitor['AlarmMaxFPS'] = $profile['AlarmMaxFPS']; +// The maxfps fields do not work for ip streams. Can re-enable if that is fixed. +// $monitor['MaxFPS'] = $profile['MaxFPS']; +// $monitor['AlarmMaxFPS'] = $profile['AlarmMaxFPS']; $monitor['Path'] = $profile['Path']; // $sourceDesc = htmlspecialchars(serialize($monitor)); $sourceDesc = base64_encode(serialize($monitor));