OBS stream control
obs_stream_controlBuilds an OBS control rig in TouchDesigner for starting/stopping streams and recordings, and switching scenes via OBS WebSocket v5.
Instructions
Create an OBS WebSocket v5 control rig in TouchDesigner: websocketDAT connection, Constant CHOP command channels for stream/record/scene actions, and a chopExecute DAT that dispatches op:6 request payloads such as StartStream, StopStream, ToggleStream, StartRecord, StopRecord, ToggleRecord, and SetCurrentProgramScene. tdmcp never accepts or stores OBS passwords; if OBS authentication is enabled, complete Identify authentication manually in the generated obs_dispatch DAT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | OBS WebSocket host/IP. | 127.0.0.1 |
| name | No | Name of the created/reused baseCOMP. | obs_stream_control |
| port | No | OBS WebSocket port. | |
| scenes | No | Optional OBS scene names. Each creates a scene_* control that sends SetCurrentProgramScene. | |
| use_tls | No | Use wss:// instead of ws://. | |
| parent_path | No | Parent COMP to build the OBS control rig in. | /project1 |
| auto_connect | No | Start the websocketDAT active immediately. Defaults false for show safety. | |
| auth_required | No | Set true only as a reminder that OBS WebSocket authentication must be completed manually; tdmcp never stores an OBS password. | |
| include_recording | No | Also create StartRecord, StopRecord, and ToggleRecord controls. |