How aitum/obs-vertical-canvas works
Main Components
a. Core Plugin Components:
• Vertical Canvas Source
• Multi Canvas Source
• Audio Wrapper Source
• Configuration System
• UI Components (Qt-based)
b. Integration Points:
• OBS Studio Core
• Qt Framework Integration
• Websocket API Integration
┌─ OBS Studio Integration Layer ─────────────────────┐
• ┌─ Plugin Core ──────────────────────────┐ │
• ┌─ Sources ─────┐ ┌─ UI Layer ────┐ │ │
• Vertical │ │ - Config │ │ │
• Canvas │──│ Dialog │ │ │
• Multi │ │ - Name │ │ │
• Canvas │ │ Dialog │ │ │
• Audio │ │ - Scenes │ │ │
• Wrapper │ │ Dock │ │ │
• ┘ └──────────────┘ │ │
• ┘ │
• ┘
Important Elements to Highlight
a. Source Components:
• Relationship between vertical-canvas.cpp, multi-canvas-source.c, and audio-wrapper-source.c
• Their interaction with OBS Studio's source system
b. UI Components:
• Connection between Qt-based UI components (config-dialog, name-dialog, scenes-dock)
• How they integrate with the core functionality
c. Configuration Flow:
• How configuration data flows from UI to core components
• Persistence mechanism
Relationships
• Plugin-to-OBS Studio communication channels
Implementation Details
• The plugin's role as a frontend plugin for OBS Studio
• Qt framework integration for UI components
• Multi-platform support structure
• Resource and configuration management