Skip to content

ONVIF_SetDouble

function

Delphi
function ONVIF_SetDouble (ParamIdentifier: string; Value: Double): Boolean;
C++Builder
bool __fastcall ONVIF_SetDouble(System::UnicodeString ParamIdentifier, double Value);
C#
public bool ONVIF_SetDouble(string ParamIdentifier, double Value);
VB.NET
Public Function ONVIF_SetDouble(ParamIdentifier As String, Value As Double) As Boolean
C++/Qt
BOOL ONVIF_SetDouble (wchar_t *ParamIdentifier, double Value);

Sets, to Value, a floating-point parameter of the Datastead RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter used by the current IP camera or URL source (identifier ending with _double). Returns false if the current source is not running through this filter, or if ParamIdentifier is not a floating-point parameter of the filter.

Use the function that matches the suffix of the identifier: ONVIF_SetBool (_bool), ONVIF_SetInt (_int), ONVIF_SetDouble (_double), ONVIF_SetStr (_str). The identifiers are listed in the Parameter identifiers chapter of the filter documentation.

See ONVIF_SetBool for the settings that can be changed while the source is running.