feat: implement session-level recording with self/bot audio filtering

- Add RecordingSession tracking for guild-level audio mixing
- Filter out self user and bot users before subscribing to audio streams
- Register segments with session metadata for post-processing
- Finalize recording sessions on connection destroy or explicit stop
- Update test mocks to properly simulate stream chain and constructors
- Remove mock-crc import (no longer needed with current dependencies)
- Add 'type: module' to package.json for ES module support

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-05-16 18:15:18 +07:00
co-authored by Claude Opus 4.7
parent 2744e7035b
commit 8e1f5adaa4
4 changed files with 13 additions and 39 deletions
-1
View File
@@ -1,4 +1,3 @@
import "./mock-crc";
import "libsodium-wrappers";
import "@snazzah/davey";
import "dotenv/config";