ZD Screen Recorder SDK API – ScnLib_EnableVideoRecovery()

ScnLib_EnableVideoRecovery()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_EnableVideoRecovery(BOOL bEnable);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_EnableVideoRecovery(bool Enable);
Basic Public Declare Sub ScnLib_EnableVideoRecovery Lib "ScnLib.dll" (ByVal Enable As Boolean)
Delphi procedure ScnLib_EnableVideoRecovery(Enable: LongBool); stdcall; external 'ScnLib.dll';
  • Description
    Enable or disable the video recovery feature.

  • Parameters
    • Enable [in]
      TRUE: Enable the video recovery feature.
      FALSE: Disable the video recovery feature.
  • Return Value
    None.

  • Remarks
    The video file formats like MP4, FLV, and AVI require proper completion to be playable. Thus, if a screen recording is unexpectedly terminated due to a system or program crash, or a power outage, the video file will be incomplete and unplayable. To address such scenarios, the SDK offers a video recovery feature. This feature saves a secure copy of the ongoing recording. If the recording completes successfully, this copy is automatically deleted. However, if the recording is interrupted and the file becomes unplayable, you can recover the video from this secure copy using ScnLib_RecoverVideoFile() when your program is run next time.

    The video recovery feature is not enabled by default. You can activate or deactivate it using this function. To check whether the video recovery feature is currently enabled, call ScnLib_IsVideoRecoveryEnabled().

  • See Also
    ScnLib_IsVideoRecoveryEnabled()
    ScnLib_RecoverVideoFile()
    ScnLib_GetVideoRecoveryProgress()

Shopping Cart
  • Your cart is empty.
Scroll to Top