OBS WebSocket icon

OBS WebSocket

Control OBS Studio via WebSocket

Virtual Camera → Toggle Virtual Camera

AI-generated

Summary

Toggle the state of the OBS Studio virtual camera on or off using the OBS WebSocket API.

Inputs

None.

Output shape

a single JSON object indicating success and a message confirming the virtual camera has been toggled on or off

No input parameters are required. The output includes fields: success (boolean) and message (string) describing the action taken.

Discussion