Device Control
Service
Granular control over device interaction subsystems. Independently manage screen mirroring, audio forwarding, and input peripherals.
Screen Mirror
ToggleHigh-performance visual mirroring with configurable bitrate and resolution scaling.
toggleScreenMirror(device)
Audio Forwarding
ToggleIndependent audio stream processing using Opus codec for ultra-low latency.
toggleAudioControl(device)
Input Bridge
ToggleUHID-based peripheral injection for seamless mouse and keyboard control without physical connection.
toggleInputControl(device)
Backend Implementation
Process Management
Each service runs in an isolated Process.start() instance. This prevents a
crash in one subsystem (e.g., Audio) from affecting others (e.g., Screen Mirroring).
State Broadcasting
A central ValueNotifier emits real-time state changes for UI updates across
the application.
Resource Cleanup
Strict exitCode listeners ensure PID termination and resource release when
services are toggled off.