revert: simplify listen to PCM-only, remove WebCodecs complexity

- Remove broadcastOpusToWeb from types and webserver
- Revert recorder to PCM-only broadcast path
- Remove WebCodecs AudioDecoder from dashboard.js
- Simplify WebSocket handler to just play PCM frames
- Remove Howler.js and Tone.js dependencies
- Keep simple AudioContext playback that works reliably
This commit is contained in:
MythEclipse
2026-05-13 22:26:59 +07:00
parent 3dbe3105af
commit 0f30a4aa67
6 changed files with 2 additions and 35 deletions
-1
View File
@@ -42,7 +42,6 @@ export interface SegmentMetadata extends UserMetadata {
export interface PcmBroadcaster {
broadcastPcmToWeb?: (chunk: Buffer, userId: string) => void;
broadcastOpusToWeb?: (chunk: Buffer, userId: string) => void;
updateActiveUser?: (
userId: string,
data: { username: string; avatar: string; speaking: boolean },