Skip to content

ONVIF_SetStr

function

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

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