Copy Profile Token to ControlDevice for use with Netcat PTZ script
parent
60618d5998
commit
85b9b045cc
|
@ -234,6 +234,7 @@ if ( !isset($_REQUEST['step']) || ($_REQUEST['step'] == '1') ) {
|
|||
// $monitor['MaxFPS'] = $profile['MaxFPS'];
|
||||
// $monitor['AlarmMaxFPS'] = $profile['AlarmMaxFPS'];
|
||||
$monitor['Path'] = $profile['Path'];
|
||||
$monitor['ControlDevice'] = $profile['Profile']; # Netcat needs this for ProfileToken
|
||||
$sourceDesc = base64_encode(json_encode($monitor));
|
||||
$profiles[$sourceDesc] = $sourceString;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue