obs_websocket library
Messages are exchanged between the client and the server as JSON objects. The protocol is based on the original OBS Remote protocol created by Bill Hamilton, with new commands specific to OBS Studio.
Classes
- Authentication
- BooleanResponse
-
Maps to a boolean response form the websocket.
bool?
fields are added to the class for each Response type needed. - CallVendorRequestResponse
- A vendor is a unique name registered by a third-party plugin or script, which allows for custom requests and events to be added to obs-websocket. If a plugin or script implements vendor requests or events, documentation is expected to be provided with them.
- CreateInputResponse
- Event
- EventOpcode
- FromJsonSingleton
- Hello
- HelloOpcode
- Identified
- Identify
- IdentifyOpcode
- Input
- InputDefaultSettingsResponse
- InputKindResponse
- InputSettingsResponse
- InputVolumeResponse
- IntegerResponse
-
Maps to a integer response form the websocket.
int?
fields are added to the class for each Response type needed. - KeyModifiers
- Monitor
- MonitorListResponse
- ObsWebSocket
- Opcode
- ProfileListResponse
- ProfileParameterResponse
- Gets the current directory that the record output is set to.
- RecordDirectoryResponse
- RecordStatusResponse
- ReIdentify
- ReIdentifyOpcode
- Request
- RequestBatch
- RequestBatchOpcode
- RequestBatchResponse
- RequestBatchResponseOpcode
- RequestData
- A vendor is a unique name registered by a third-party plugin or script, which allows for custom requests and events to be added to obs-websocket. If a plugin or script implements vendor requests or events, documentation is expected to be provided with them.
- RequestOpcode
- RequestResponse
- RequestResponseOpcode
- Scene
- SceneCollectionListResponse
- SceneItem
- SceneItemDetail
- SceneItemListResponse
- SceneListResponse
- SceneSceneTransitionOverrideResponse
- SourceActiveResponse
- videoActive Whether the source is showing in Program videoShowing Whether the source is showing in the UI (Preview, Projector, Properties)
- SourceScreenshot
- SourceScreenshotResponse
- imageData Base64-encoded screenshot
- SpecialInputsResponse
- StatsResponse
- StreamServiceSettingsResponse
- StreamStatusResponse
- StringListResponse
- StringResponse
-
Maps to a string response form the websocket.
string?
fields are added to the class for each Response type needed. - Transform
- VersionResponse
- VideoSettings
- VideoSettingsResponse