TVideoGrabber.IsURLVideoStreamAvailable

Prev

Next

TVideoGrabber

Methods

 




used to determine if the URL source really outputs video samples


Declaration
function IsURLVideoStreamAvailable (TimeOut_Ms: LongInt): TTriState;


TTriState __fastcall IsURLVideoStreamAvailable (int TimeOut_Ms);

Description

Used to verify if the URL specified to IPCameraURL or VideoSource_FileOrURL outputs video samples without starting the GUI.

This function ca be invoked from a background thread.

The function waits for the first video sample to be received, until the Timeout_Ms duration (expressed in milliseconds) expires.

Return values:

ts_Undefined: the connection failed

ts_False: the connection succeeded but the source does not output video samples

ts_True: the connection succeeded and at least one video sample has been received


See Also
IR Cut Filter of Axis cameras TDiscoveryCallbackStatus TOnONVIFDiscoveryCompletedNotification Video stream of IP camera with audio of PC microphone or other audio capture device ExtraDLLPath GetLastErrorMessage IPCameraURL IsURLResponding OnONVIFDiscoveryCompletedNotification ONVIF_GetStr ONVIF_SetStr ONVIFCancelDiscovery ONVIFDiscoverCameras_IPRange ONVIFDiscoverCameras_Multicast ONVIFEnumCamerasDiscovered OpenURLAsync OpenURLAsyncStatus SendIPCameraCommand SetIPCameraSetting