IsURLVideoStreamAvailable
Delphi
function IsURLVideoStreamAvailable (TimeOut_Ms: LongInt): TTriState;
C++Builder
TTriState __fastcall IsURLVideoStreamAvailable(System::LongInt TimeOut_Ms);
C#
public TTriState IsURLVideoStreamAvailable(int TimeOut_Ms);
VB.NET
Public Function IsURLVideoStreamAvailable(TimeOut_Ms As Integer) As TTriState
C++/Qt
TTriState IsURLVideoStreamAvailable (int TimeOut_Ms);
Determines whether the URL specified in IPCameraURL or VideoSource_FileOrURL really outputs video samples, without starting the GUI. This function can be invoked from a background thread.
The function waits for the first video sample to be received, until the TimeOut_Ms duration (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.