Xonotic Forums
I want to implement voice chat - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12)
+--- Thread: I want to implement voice chat (/showthread.php?tid=4667)



I want to implement voice chat - lamefun - 12-20-2013

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.



RE: I want to implement voice chat - Mr. Bougo - 12-21-2013

Have you tried or done anything yet toward that goal? You're welcome to try. You'll likely have to chat with the DarkPlaces engine lead developer LordHavoc to see if he wants that in.


RE: I want to implement voice chat - poVoq - 12-21-2013

It is implemented in FTEqw (at least in general not sure if it uses opus), so you can probably have a look at that code and try transferring it to darkplaces.


RE: I want to implement voice chat - unfa - 12-22-2013

This could be great. Opus seems to be a cutting edge technology.
I'd sure use it to sing you lullabyes while running with your flag... (okay, not quite...)