Merge pull request #1364 from knnniggett/onvif_maxfps

do not set maxfps fields during onvif probe
This commit is contained in:
Isaac Connor 2016-03-26 15:34:54 -04:00
commit e717349116
1 changed files with 3 additions and 2 deletions

View File

@ -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));