do not set maxfps fields during onvif probe

This commit is contained in:
Andy Bauer 2016-03-26 08:38:28 -05:00
parent a3e79e5119
commit 6eda3eff72
1 changed files with 3 additions and 2 deletions

View File

@ -242,8 +242,9 @@ else if($_REQUEST['step'] == "2")
// copy technical details // copy technical details
$monitor['Width'] = $profile['Width']; $monitor['Width'] = $profile['Width'];
$monitor['Height'] = $profile['Height']; $monitor['Height'] = $profile['Height'];
$monitor['MaxFPS'] = $profile['MaxFPS']; // The maxfps fields do not work for ip streams. Can re-enable if that is fixed.
$monitor['AlarmMaxFPS'] = $profile['AlarmMaxFPS']; // $monitor['MaxFPS'] = $profile['MaxFPS'];
// $monitor['AlarmMaxFPS'] = $profile['AlarmMaxFPS'];
$monitor['Path'] = $profile['Path']; $monitor['Path'] = $profile['Path'];
// $sourceDesc = htmlspecialchars(serialize($monitor)); // $sourceDesc = htmlspecialchars(serialize($monitor));
$sourceDesc = base64_encode(serialize($monitor)); $sourceDesc = base64_encode(serialize($monitor));