fix: subscription event loop, session_id for reconnect, audio feature gate

- Fix event_rx consumed by take() - now locks and polls each time
- Add session_id to restart subscription on reconnect
- Remove duplicate code in Connect handler
- Gate audio behind optional cpal feature (needs ALSA dev libs)
- tsclientlib audio feature disabled in workspace (needs cmake)
- 69 tests passing, clippy clean
This commit is contained in:
ReTeamSpeak
2026-05-12 23:06:19 +09:00
parent 2bbd1c41fd
commit 0d805269b5
2 changed files with 29 additions and 20 deletions
+2
View File
@@ -18,6 +18,7 @@ serde_json = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
chrono = { workspace = true }
cpal = { version = "0.15", optional = true }
shared = { workspace = true }
tscore = { workspace = true }
@@ -27,3 +28,4 @@ tsproto-packets = { workspace = true }
[features]
default = []
audio = ["dep:cpal"]