File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 11# obs-cmd Guide
22
3+ ## Notes
4+
5+ Keep AGENTS.md updated with non-trivial project design, keep it minimal and essetial
6+
37## Technology Stack
48- ** Rust 2021 Edition** : Command-line tool for OBS Studio control
59- ** obws** : OBS WebSocket client library
913- ** async-trait** : Async trait support for command handlers
1014- The official obs-websocket spec https://raw.githubusercontent.com/obsproject/obs-websocket/master/docs/generated/protocol.md
1115
16+ ## Project Structure
17+ ```
18+ src/
19+ ├── main.rs # Entry point with connection setup
20+ ├── cli.rs # CLI argument parsing and command definitions
21+ ├── connection.rs # WebSocket connection management with retry logic
22+ ├── handler.rs # Command dispatcher routing to handlers
23+ ├── error.rs # Comprehensive error type definitions
24+ └── handlers/ # Modular command handlers
25+ ├── mod.rs # CommandHandler trait and utilities
26+ ├── general.rs # Info and hotkey commands
27+ ├── scenes.rs # Scene management
28+ ├── recording.rs # Recording control
29+ ├── streaming.rs # Streaming control
30+ ├── audio.rs # Audio source management
31+ ├── filters.rs # Filter management
32+ ├── media.rs # Media input control
33+ ├── sources.rs # Source screenshots
34+ ├── ui.rs # Projector management
35+ └── ... # Other specialized handlers
36+ ```
37+
1238## Architecture Patterns
1339
1440### Command Handler Pattern
You can’t perform that action at this time.
0 commit comments