obs-websocket-community-projects / obs-websocket-js

Consumes https://github.com/obsproject/obs-websocket
MIT License
679 stars 96 forks source link

Is it possible to query the status of a DeckLink output? #324

Open loveolsson opened 1 year ago

loveolsson commented 1 year ago

Description:

Before the transition to the native WebSocket fuctionality in OBS it was possible to query the status of a DeckLink output. I can't find how to do that in the latest version.

What worked while using obs-websocket 4.9.1 and obs-websocket-js 4.0.3:

const { outputs } = await this.ws.send('ListOutputs');
const decklink = outputs.find((op) => op.name === 'decklink_output');
const isActive = decklink?.active === true;

Is there any new functionality, such as sending a CallVendorRequest to the DeckLink plugin that replaces this functionality?

Versions Used (if applicable):

loveolsson commented 1 year ago

I found the call GetOutputList in the plugin code, and it works just like before, only that the definition is missing in obs-websocket-js.