ONVIF PTZ Controller ==================== Open Network Video Interface Forum (`ONVIF `__) is a community to standardize communication between IP-based security products, in this case PTZ cameras. The communication with the camera is defined as a web service. A wrapper handles most of the Simple Object Access Protocol (SOAP) messaging by using Java Architecture for XML Binding (JAXB) to map the objects to Extensible Markup Language (XML). !!! warning "Beta code" The ONVIF PTZ Controller has not been extensively tested or used in production. Configuration ------------- +-------------------------------+----------+-----------------------------------+ | Key | Default | Description | +===============================+==========+===================================+ | cv.lecturesight.onvif.camera. | 127.0.0. | The host name / ip address for | | host | 1 | the camera. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | admin | The username that will be used to | | username | | authenticate on the camera, the | | | | user is a ONVIF / web service | | | | specific user that has access to | | | | the web service. The user should | | | | have Administrator privileges to | | | | be able to manage camera presets. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | admin | The password to use for | | password | | authentication. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | -1700 | The minimum pan value to use in | | pan.min | | translating LectureSight values | | | | to camera values. ONVIF's | | | | internal values for pan range | | | | from -1 to 1. This minimum value | | | | is mapped to that range. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | 1700 | The maximum pan value. | | pan.max | | | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | 100 | The maximum speed for changing | | pan.maxspeed | | the pan value, internally mapped | | | | to 1. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | -200 | The minimum tilt value. Tilt | | tilt.min | | value range is -1 to 1. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | 900 | The maximum tilt value. | | tilt.max | | | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | 100 | The maximum speed for changing | | tilt.maxspeed | | the tilt value, internally mapped | | | | to 1. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | 1 | The minimum zoom level value. | | zoom.min | | Zoom range is 0 to 1. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | 9999 | The maximum zoom level value. | | zoom.max | | | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.camera. | 10 | The maximum speed for changing | | zoom.maxspeed | | the zoom level, internally mapped | | | | -1 to 1. | +-------------------------------+----------+-----------------------------------+ | cv.lecturesight.onvif.updater | 80 | The interval in ms to request | | .interval | | position updates. | +-------------------------------+----------+-----------------------------------+ WSDL ---- The Web Service Definition Language (WSDL) for the different versions and devices: +------+------+------+ | API | Vers | WSDL | | | ion | | +======+======+======+ | Devi | 1.0 | http | | ce | | ://w | | Mana | | ww.o | | geme | | nvif | | nt | | .org | | | | /ver | | | | 10/d | | | | evic | | | | e/ws | | | | dl/d | | | | evic | | | | emgm | | | | t.ws | | | | dl | +------+------+------+ | | 2.0 | http | | | | ://w | | | | ww.o | | | | nvif | | | | .org | | | | /ver | | | | 20/p | | | | tz/w | | | | sdl/ | | | | ptz. | | | | wsdl | +------+------+------+ | Medi | 1.0 | http | | a | | ://w | | | | ww.o | | | | nvif | | | | .org | | | | /ver | | | | 10/m | | | | edia | | | | /wsd | | | | l/me | | | | dia. | | | | wsdl | +------+------+------+ | | 2.0 | http | | | | ://w | | | | ww.o | | | | nvif | | | | .org | | | | /ver | | | | 20/m | | | | edia | | | | /wsd | | | | l/me | | | | dia. | | | | wsdl | +------+------+------+ | PTZ | 1.0 | http | | | | ://w | | | | ww.o | | | | nvif | | | | .org | | | | /onv | | | | if/v | | | | er10 | | | | /ptz | | | | /wsd | | | | l/pt | | | | z.ws | | | | dl | +------+------+------+ | | 2.0 | http | | | | ://w | | | | ww.o | | | | nvif | | | | .org | | | | /ver | | | | 20/p | | | | tz/w | | | | sdl/ | | | | ptz. | | | | wsdl | +------+------+------+ | All | 2.0 | http | | | | ://w | | | | ww.o | | | | nvif | | | | .org | | | | /onv | | | | if/v | | | | er20 | | | | /uti | | | | l/op | | | | erat | | | | ionI | | | | ndex | | | | .htm | | | | l | +------+------+------+ ONVIF Library ============= This camera implementation is based around the ONVIF wrapper classes written by Milgo and available on GitHub at: https://github.com/milg0/onvif-java-lib. The onvif-java-lib is deployed under the `Apache License, Version 2.0 of January 2004 `__.