WSCLib SDK 1.0.0
GPU-accelerated video output framework for Windows
Loading...
Searching...
No Matches
Capture Controls

Functions

WSCIResult WSCI_StartCapture (int captureId)
 Start capturing frames.
WSCIResult WSCI_StopCapture (int captureId)
 Stop capturing.
WSCICaptureState WSCI_GetCaptureState (int captureId)
 Get capture state.
WSCIResult WSCI_GetCaptureInfo (int captureId, int *width, int *height, int *fps)
 Get actual capture resolution (available after StartCapture).

Detailed Description

Function Documentation

◆ WSCI_StartCapture()

WSCIResult WSCI_StartCapture ( int captureId)

Start capturing frames.

Parameters
captureIdCapture ID.
Returns
WSCI_OK on success.

◆ WSCI_StopCapture()

WSCIResult WSCI_StopCapture ( int captureId)

Stop capturing.

Parameters
captureIdCapture ID.
Returns
WSCI_OK on success.

◆ WSCI_GetCaptureState()

WSCICaptureState WSCI_GetCaptureState ( int captureId)

Get capture state.

Parameters
captureIdCapture ID.
Returns
WSCICaptureState value.

◆ WSCI_GetCaptureInfo()

WSCIResult WSCI_GetCaptureInfo ( int captureId,
int * width,
int * height,
int * fps )

Get actual capture resolution (available after StartCapture).

Parameters
captureIdCapture ID.
[out]widthActual width.
[out]heightActual height.
[out]fpsActual frame rate.
Returns
WSCI_OK on success.