ZD Screen Recorder SDK API – ScnLib_IsStreaming()

ScnLib_IsStreaming()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) BOOL __stdcall ScnLib_IsStreaming(void);
C# [DllImport("ScnLib.dll")] public static extern bool ScnLib_IsStreaming();
Basic Public Declare Function ScnLib_IsStreaming Lib "ScnLib.dll" () As Boolean
Delphi function ScnLib_IsStreaming(): LongBool; stdcall; external 'ScnLib.dll';
  • Description
    Verify whether live streaming is active.

  • Parameters
    None.

  • Return Value
    If live streaming is currently active, the return value is TRUE. Otherwise, the return value is FALSE.

  • Remarks
    Use this function to verify the status of live streaming. Live streaming is active only if a recording is initiated after setting a valid RTMP (Real-Time Messaging Protocol) streaming URL and establishing a network connection to the RTMP server successfully. Live streaming can be interrupted during recording due to network I/O failures. In such cases, the SDK attempts to reconnect to the RTMP server every 10 seconds. As there is no automatic notification system, it may be necessary to periodically call this function to verify whether live streaming is active.

  • See Also
    ScnLib_SetStreamingUrlA/W()

Shopping Cart
  • Your cart is empty.
Scroll to Top