Ipcc (#2040)
* fix(ipcc): Invert up/down to work properly * fix(ipcc): Change the initial values for ipcc camera
This commit is contained in:
parent
9a8a72ba27
commit
ce19c65cc9
|
@ -597,7 +597,7 @@ INSERT INTO `Controls` VALUES (NULL,'Foscam 9831W','Ffmpeg','FI9831W',0,0,1,0,0,
|
||||||
INSERT INTO `Controls` VALUES (NULL,'Foscam FI8918W','Ffmpeg','FI8918W',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,1,1,1,0,0,0,1,1,0,360,0,360,1,0,4,0,0,1,0,90,0,90,1,0,4,0,0,0,0);
|
INSERT INTO `Controls` VALUES (NULL,'Foscam FI8918W','Ffmpeg','FI8918W',0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,1,1,1,0,0,0,1,1,0,360,0,360,1,0,4,0,0,1,0,90,0,90,1,0,4,0,0,0,0);
|
||||||
INSERT INTO `Controls` VALUES (NULL,'SunEyes SP-P1802SWPTZ','Libvlc','SPP1802SWPTZ',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,1,1,0,0,0,0,1,1,0,0,0,0,1,0,64,0,0,1,0,0,0,0,1,0,64,0,0,0,0);
|
INSERT INTO `Controls` VALUES (NULL,'SunEyes SP-P1802SWPTZ','Libvlc','SPP1802SWPTZ',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,8,0,1,1,0,0,0,0,1,1,0,0,0,0,1,0,64,0,0,1,0,0,0,0,1,0,64,0,0,0,0);
|
||||||
INSERT INTO `Controls` VALUES (NULL,'Wanscam HW0025','Libvlc','WanscamHW0025', 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 16, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 350, 0, 0, 1, 0, 10, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10, 0, 0, 0, 0);
|
INSERT INTO `Controls` VALUES (NULL,'Wanscam HW0025','Libvlc','WanscamHW0025', 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 16, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 350, 0, 0, 1, 0, 10, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10, 0, 0, 0, 0);
|
||||||
INSERT INTO `Controls` VALUES (NULL,'IPCC 7210W','Libvlc','IPCC7210W', 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 16, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 350, 0, 0, 1, 0, 10, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10, 0, 0, 0, 0);
|
INSERT INTO `Controls` VALUES (NULL,'IPCC 7210W','Remote','IPCC7210W', 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 16, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||||
INSERT INTO `Controls` VALUES (NULL,'Vivotek ePTZ','Remote','Vivotek_ePTZ',0,0,1,1,0,0,0,1,0,0,0,0,1,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,1,0,5,0,0,1,0,0,0,0,1,0,5,0,0,0,0);
|
INSERT INTO `Controls` VALUES (NULL,'Vivotek ePTZ','Remote','Vivotek_ePTZ',0,0,1,1,0,0,0,1,0,0,0,0,1,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,1,0,5,0,0,1,0,0,0,0,1,0,5,0,0,0,0);
|
||||||
INSERT INTO `Controls` VALUES (NULL,'Netcat ONVIF','Ffmpeg','Netcat',0,0,1,1,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,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, 0, 0, 0, 0, 0);
|
||||||
|
|
|
@ -139,7 +139,7 @@ sub moveConUp
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $params = shift;
|
my $params = shift;
|
||||||
Debug( "Move Up" );
|
Debug( "Move Up" );
|
||||||
my $cmd = "decoder_control.cgi?command=0&onestep=1&";
|
my $cmd = "decoder_control.cgi?command=2&onestep=1&";
|
||||||
$self->sendCmd( $cmd );
|
$self->sendCmd( $cmd );
|
||||||
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
||||||
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
||||||
|
@ -155,7 +155,7 @@ sub moveConDown
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $params = shift;
|
my $params = shift;
|
||||||
Debug( "Move Down" );
|
Debug( "Move Down" );
|
||||||
my $cmd = "decoder_control.cgi?command=2&onestep=1&";
|
my $cmd = "decoder_control.cgi?command=0&onestep=1&";
|
||||||
$self->sendCmd( $cmd );
|
$self->sendCmd( $cmd );
|
||||||
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
||||||
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
||||||
|
@ -203,7 +203,7 @@ sub moveConUpRight
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $params = shift;
|
my $params = shift;
|
||||||
Debug( "Move Diagonally Up Right" );
|
Debug( "Move Diagonally Up Right" );
|
||||||
my $cmd = "decoder_control.cgi?command=91&onestep=1&";
|
my $cmd = "decoder_control.cgi?command=93&onestep=1&";
|
||||||
$self->sendCmd( $cmd );
|
$self->sendCmd( $cmd );
|
||||||
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
||||||
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
||||||
|
@ -219,7 +219,7 @@ sub moveConDownRight
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $params = shift;
|
my $params = shift;
|
||||||
Debug( "Move Diagonally Down Right" );
|
Debug( "Move Diagonally Down Right" );
|
||||||
my $cmd = "decoder_control.cgi?command=93&onestep=1&";
|
my $cmd = "decoder_control.cgi?command=91&onestep=1&";
|
||||||
$self->sendCmd( $cmd );
|
$self->sendCmd( $cmd );
|
||||||
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
||||||
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
||||||
|
@ -235,7 +235,7 @@ sub moveConUpLeft
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $params = shift;
|
my $params = shift;
|
||||||
Debug( "Move Diagonally Up Left" );
|
Debug( "Move Diagonally Up Left" );
|
||||||
my $cmd = "decoder_control.cgi?command=90&onestep=1&";
|
my $cmd = "decoder_control.cgi?command=92&onestep=1&";
|
||||||
$self->sendCmd( $cmd );
|
$self->sendCmd( $cmd );
|
||||||
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
||||||
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
||||||
|
@ -251,7 +251,7 @@ sub moveConDownLeft
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $params = shift;
|
my $params = shift;
|
||||||
Debug( "Move Diagonally Down Left" );
|
Debug( "Move Diagonally Down Left" );
|
||||||
my $cmd = "decoder_control.cgi?command=92&onestep=1&";
|
my $cmd = "decoder_control.cgi?command=90&onestep=1&";
|
||||||
$self->sendCmd( $cmd );
|
$self->sendCmd( $cmd );
|
||||||
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
my $autostop = $self->getParam( $params, 'autostop', 0 );
|
||||||
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
if ( $autostop && $self->{Monitor}->{AutoStopTimeout} )
|
||||||
|
@ -275,7 +275,7 @@ sub presetHome
|
||||||
{
|
{
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
Debug( "Home Preset" );
|
Debug( "Home Preset" );
|
||||||
my $cmd = "decoder_control.cgi?command=25&onestep=0&";
|
my $cmd = "decoder_control.cgi?command=4&onestep=0&";
|
||||||
$self->sendCmd( $cmd );
|
$self->sendCmd( $cmd );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue