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

Functions

WSCWResult WSCW_AttachOutput (int browserId, int outputId)
 Attach a WSCLib output to this browser.
WSCWResult WSCW_DetachOutput (int browserId, int outputId)
 Detach a WSCLib output from this browser.

Detailed Description

Function Documentation

◆ WSCW_AttachOutput()

WSCWResult WSCW_AttachOutput ( int browserId,
int outputId )

Attach a WSCLib output to this browser.

Each rendered frame will be automatically submitted to the output. Multiple outputs can be attached to one browser.

Parameters
browserIdBrowser ID.
outputIdWSCLib output ID from WSC_CreateOutput() / WSC_CreateOutputFromNative().
Returns
WSCW_OK on success.

◆ WSCW_DetachOutput()

WSCWResult WSCW_DetachOutput ( int browserId,
int outputId )

Detach a WSCLib output from this browser.

Parameters
browserIdBrowser ID.
outputIdWSCLib output ID.
Returns
WSCW_OK on success.