Files
Cesarus85--mjolnir-vr/tools
Stefan MaierandClaude Opus 5.5 1a732f577f Voice chat in multiplayer
The microphone (SDL3 recording with Android's voice communication preset:
echo cancelling, noise suppression) is encoded with Opus (VOIP, 16 kbit/s,
20 ms frames) while its level is over voice.threshold, and sent every
tick in a new distributed message (_distributed_message_voice): clients
to the host, which plays it and passes it on; the host its own to every
client. Each speaker is decoded into a jitter buffer and mixed into a
stream of its own, teammates over the radio, everyone else by distance
(20 world units) and from their side of where the listener looks.
Devices open on a thread of their own so the game never waits; the
launcher asks for the microphone once and tells the game whether it may
use it. Opus v1.5.2 is fetched and built statically into the host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 10:43:36 +02:00
..
2026-09-26 16:16:00 +12:00
2026-09-26 16:16:00 +12:00
2026-10-02 10:43:36 +02:00
2026-09-26 16:16:00 +12:00
2026-09-29 03:09:03 +13:00
2026-09-26 16:16:00 +12:00
2026-09-26 16:16:00 +12:00
2026-09-30 22:12:05 +13:00
2025-11-27 02:27:27 +00:00
2026-09-28 17:42:22 +13:00
2026-09-30 22:12:05 +13:00