refactor: stricter domain: voice-session

This commit is contained in:
2026-04-11 15:12:54 +02:00
parent 7a0664b3c4
commit 52912327ae
9 changed files with 30 additions and 25 deletions

View File

@@ -9,15 +9,20 @@ The actual mixed live-stream workspace UI lives in `features/room/voice-workspac
```
voice-session/
├── application/
│ ├── voice-session.facade.ts Tracks active voice session, drives floating controls
│ └── voice-workspace.service.ts Workspace mode (hidden/expanded/minimized), focused stream, mini-window position
│ ├── facades/
│ └── voice-session.facade.ts Tracks active voice session, drives floating controls
│ └── services/
│ └── voice-workspace.service.ts Workspace mode (hidden/expanded/minimized), focused stream, mini-window position
├── domain/
│ ├── voice-session.logic.ts isViewingVoiceSessionServer, buildVoiceSessionRoom
│ └── voice-session.models.ts VoiceSessionInfo interface
│ ├── logic/
│ └── voice-session.logic.ts isViewingVoiceSessionServer, buildVoiceSessionRoom
│ └── models/
│ └── voice-session.model.ts VoiceSessionInfo interface
├── infrastructure/
│ └── voice-settings.storage.ts Persists audio device IDs, volumes, bitrate, latency, noise reduction to localStorage
│ └── util/
│ └── voice-settings-storage.util.ts Persists audio device IDs, volumes, bitrate, latency, noise reduction to localStorage
├── feature/
│ ├── voice-controls/ Full voice control panel (mic, camera, deafen, devices, screen share, settings)
@@ -49,10 +54,10 @@ graph TD
VSF --> Store
VWS --> VSF
click VSF "application/voice-session.facade.ts" "Tracks active voice session" _blank
click VWS "application/voice-workspace.service.ts" "Workspace mode and focused stream" _blank
click VSS "infrastructure/voice-settings.storage.ts" "localStorage persistence for audio settings" _blank
click Logic "domain/voice-session.logic.ts" "Pure helper functions" _blank
click VSF "application/facades/voice-session.facade.ts" "Tracks active voice session" _blank
click VWS "application/services/voice-workspace.service.ts" "Workspace mode and focused stream" _blank
click VSS "infrastructure/util/voice-settings-storage.util.ts" "localStorage persistence for audio settings" _blank
click Logic "domain/logic/voice-session.logic.ts" "Pure helper functions" _blank
click VC "feature/voice-controls/" "Full voice control panel" _blank
click FC "feature/floating-voice-controls/" "Minimal floating overlay" _blank
```