Skip to content

ONVIF_SetInt

function

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

Sets, to Value, an integer parameter of the Datastead RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter used by the current IP camera or URL source (identifier ending with _int). Returns false if the current source is not running through this filter, or if ParamIdentifier is not an integer 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.