ScnLib_RecordWebcamOnly()

ScnLib_RecordWebcamOnly()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_RecordWebcamOnly(BOOL bEnable);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_RecordWebcamOnly(bool Enable);
Basic Public Declare Sub ScnLib_RecordWebcamOnly Lib "ScnLib.dll" (ByVal Enable As Boolean)
Delphi procedure ScnLib_RecordWebcamOnly(Enable: LongBool); stdcall; external 'ScnLib.dll';
  • Description
    Toggle the recording mode between webcam-only (full webcam view video) and normal screen recording.

  • Parameters
    • Enable [in]
      TRUE: webcam-only recording.
      FALSE: normal screen recording.
  • Return Value
    None.

  • Remarks
    Use this function to toggle the recording mode between webcam-only (full webcam view video) and normal screen recording. When enabled, the video will exclusively feature the webcam view, omitting any screen content. This function can be used before starting a recording session to create a video that solely contains webcam footage. Alternatively, it can be activated during the recording process to produce a video that intersperses screen and webcam content.

    Moreover, you have the option to use ScnLib_InputWebcamFrame() to input custom webcam bitmap frames, enabling the creation of a fully custom video. To check whether the webcam-only recording mode is currently active, call ScnLib_IsRecordWebcamOnly().

  • See Also
    ScnLib_SelectWebcamDevice()
    ScnLib_IsRecordWebcamOnly()
    ScnLib_InputWebcamFrame()

Try the SDK for FREE SDK APIs overview