cyberneticlibrary

Control OBS Studio scenes and encoding

obs-driversubagentsetup L30
JulienCr/xtouch-gw
What it does

Debug OBS WebSocket integration for X-Touch control

Best for

Debugging real-time bidirectional OBS control via physical X-Touch controller with multi-camera scene switching and transform caching.

Inputs
  • · OBS WebSocket host/port/password config
  • · action name and parameters
  • · scene/source/transform specifications
Outputs
  • · OBS scene/source state changes
  • · error messages with connection status
Requires
  • · obws crate
  • · OBS WebSocket API 4455
Preconditions
  • · OBS Studio running on configured host:port
  • · XTouch-GW src/drivers/obs/ modules present
  • · Rust 1.56+ with async-trait
Failure modes
  • · Connection refused if OBS not running or wrong port
  • · Scene not found if name mismatch or case-sensitive error
  • · Transform cache stale if scene change not invalidated
  • · Auth failure if OBS password incorrect
Trust signals
  • · Documented async reconnection logic with exponential backoff
  • · Transform cache invalidation on scene change
  • · Encoder acceleration curves for tactile fader response
  • · Multi-camera split control (PiP mode)
  • · Driver trait pattern with interior mutability (Arc<RwLock<>>)