Merge branch 'dev' into 'dev'

Remote ONVIF Control

See merge request Shinobi-Systems/Shinobi!226
install-with-shinobicctv-user-instead-of-root
Moe 2020-08-19 18:47:05 +00:00
commit 7387866aee
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ module.exports = function(s,config,lang,app,io){
const controlURLOptions = s.cameraControlOptionsFromUrl(controlBaseUrl,monitorConfig)
//create onvif connection
const device = new onvif.OnvifDevice({
xaddr : 'http://' + controlURLOptions.host + ':' + controlURLOptions.port + '/onvif/device_service',
address : controlURLOptions.host + ':' + controlURLOptions.port,
user : controlURLOptions.username,
pass : controlURLOptions.password
})