Merge branch 'dev' into 'dev'
Fix ONVIF Camera Zooming See merge request Shinobi-Systems/Shinobi!59merge-requests/68/head
commit
d82b32a885
|
@ -430,8 +430,8 @@ module.exports = function(s,config,lang){
|
||||||
"right" : [1.0,'x'],
|
"right" : [1.0,'x'],
|
||||||
"down" : [-1.0,'y'],
|
"down" : [-1.0,'y'],
|
||||||
"up" : [1.0,'y'],
|
"up" : [1.0,'y'],
|
||||||
"zoom_in" : [1.0,'zoom'],
|
"zoom_in" : [1.0,'z'],
|
||||||
"zoom_out" : [-1.0,'zoom']
|
"zoom_out" : [-1.0,'z']
|
||||||
}
|
}
|
||||||
var direction = onvifDirections[e.direction]
|
var direction = onvifDirections[e.direction]
|
||||||
controlOptions.Velocity[direction[1]] = direction[0];
|
controlOptions.Velocity[direction[1]] = direction[0];
|
||||||
|
|
Loading…
Reference in New Issue