There's Opus library (opus-codec.org) that is a popular simple to use speech codec library. It's designed for voice chats and can handle packet loss. I'll need help in integrating it into Xonotic. I'll likely need to know how:
- to add new dependencies to darkplaces code;
- to get sound from microphone (SDL 1 doesn't support recording, SDL 2 has it planned but not implemented yet);
- to play arbitrary sound;
- to sent and receive data from players.