ONVIF Focus and IR Cut Filter
Note
These features require the Datastead RTSP/RTMP/HTTP/ONVIF Source filter version 9.2.4.4 or newer.
To control the focus and the IR Cut Filter, invoke ONVIFPTZStartMove:
- The command name (PTZType parameter) is not case-sensitive.
- The commands marked with (*) are "activation" commands: in this case, the other parameters of the function are ignored.
Focus
The supported commands are:
- FocusNear
- FocusFar
- FocusAuto (*)
- FocusManual (*)
VideoGrabber.ONVIFPTZStartMove("Focus", true, 1, 1000);
VideoGrabber.ONVIFPTZStartMove("Focus", false, 1, 1000);
VideoGrabber.ONVIFPTZStartMove("FocusNear", true, 1, 1000);
VideoGrabber.ONVIFPTZStartMove("FocusNear", false, 1, 1000);
VideoGrabber.ONVIFPTZStartMove("FocusFar", true, 1, 1000);
VideoGrabber.ONVIFPTZStartMove("FocusFar", false, 1, 1000);
VideoGrabber.ONVIFPTZStartMove("FocusAuto", true, 0, 0);
VideoGrabber.ONVIFPTZStartMove("FocusManual", true, 0, 0);
IR Cut Filter
The supported commands are:
- IRCutOn (*)
- IRCutOff (*)
- IRCutAuto (*)
E.g.:
VideoGrabber.ONVIFPTZStartMove("IRCutOn", true, 0, 0);