From 0cfb5d931ff4245aaaf811d78a47f59d660b74bc Mon Sep 17 00:00:00 2001 From: Geronimo2015 Date: Fri, 24 Apr 2020 13:47:02 +0200 Subject: [PATCH 1/2] Added PTZ GotoPreset support --- source/_integrations/onvif.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_integrations/onvif.markdown b/source/_integrations/onvif.markdown index 918ac0d02dc3..648aff72fd6e 100644 --- a/source/_integrations/onvif.markdown +++ b/source/_integrations/onvif.markdown @@ -76,7 +76,8 @@ If your ONVIF camera supports PTZ, you will be able to pan, tilt or zoom your ca | `zoom` | Zoom. Allowed values: `ZOOM_IN`, `ZOOM_OUT`, `NONE` | `distance` | Distance coefficient. Sets how much PTZ should be executed in one request. Allowed values: floating point numbers, 0 to 1. Default : 0.1 | `speed` | Speed coefficient. Sets how fast PTZ will be executed. Allowed values: floating point numbers, 0 to 1. Default : 0.5 -| `move_mode` | PTZ moving mode. Allowed values: `ContinuousMove`, `RelativeMove`, `AbsoluteMove`. Default :`RelativeMove` + `preset` | PTZ preset profile token. Sets the preset profile token which is executed with GotoPreset. +| `move_mode` | PTZ moving mode. Allowed values: `ContinuousMove`, `RelativeMove`, `AbsoluteMove`, `GotoPreset`. Default :`RelativeMove` | `continuous_duration` | Set ContinuousMove delay in seconds before stoping the move. Allowed values: floating point numbers or integer. Default : 0.5 If you are running into trouble with this sensor, please refer to the [Troubleshooting section](/integrations/ffmpeg/#troubleshooting). From e97d4fdcd1950937261ac661310452e131d3f0a0 Mon Sep 17 00:00:00 2001 From: Geronimo2015 Date: Fri, 24 Apr 2020 14:16:50 +0200 Subject: [PATCH 2/2] Update source/_integrations/onvif.markdown Co-Authored-By: Franck Nijhof --- source/_integrations/onvif.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/onvif.markdown b/source/_integrations/onvif.markdown index 648aff72fd6e..0487a0b42b2a 100644 --- a/source/_integrations/onvif.markdown +++ b/source/_integrations/onvif.markdown @@ -76,7 +76,7 @@ If your ONVIF camera supports PTZ, you will be able to pan, tilt or zoom your ca | `zoom` | Zoom. Allowed values: `ZOOM_IN`, `ZOOM_OUT`, `NONE` | `distance` | Distance coefficient. Sets how much PTZ should be executed in one request. Allowed values: floating point numbers, 0 to 1. Default : 0.1 | `speed` | Speed coefficient. Sets how fast PTZ will be executed. Allowed values: floating point numbers, 0 to 1. Default : 0.5 - `preset` | PTZ preset profile token. Sets the preset profile token which is executed with GotoPreset. +| `preset` | PTZ preset profile token. Sets the preset profile token which is executed with GotoPreset. | `move_mode` | PTZ moving mode. Allowed values: `ContinuousMove`, `RelativeMove`, `AbsoluteMove`, `GotoPreset`. Default :`RelativeMove` | `continuous_duration` | Set ContinuousMove delay in seconds before stoping the move. Allowed values: floating point numbers or integer. Default : 0.5