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

Functions

WSCVResult WSCV_AttachOutput (int playerId, int outputId)
 Attach a WSCLib output to this player.
WSCVResult WSCV_DetachOutput (int playerId, int outputId)
 Detach a WSCLib output from this player.

Variables

int WSCVVersion::major
int WSCVVersion::minor
int WSCVVersion::patch
const char * WSCVVersion::string

Detailed Description

Function Documentation

◆ WSCV_AttachOutput()

WSCVResult WSCV_AttachOutput ( int playerId,
int outputId )

Attach a WSCLib output to this player.

Each decoded frame will be automatically submitted to the output. Multiple outputs can be attached to one player (video wall scenario).

Parameters
playerIdPlayer ID.
outputIdWSCLib output ID from WSC_CreateOutput() / WSC_CreateOutputFromNative().
Returns
WSCV_OK on success.

◆ WSCV_DetachOutput()

WSCVResult WSCV_DetachOutput ( int playerId,
int outputId )

Detach a WSCLib output from this player.

Parameters
playerIdPlayer ID.
outputIdWSCLib output ID.
Returns
WSCV_OK on success.

Variable Documentation

◆ major

int WSCVVersion::major

Major version number.

◆ minor

int WSCVVersion::minor

Minor version number.

◆ patch

int WSCVVersion::patch

Patch version number.

◆ string

const char* WSCVVersion::string

Version string.