Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to implement voice chat

#1
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.
Reply

#2
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.
Reply

#3
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.
Reply

#4
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...)
I'm making Liblast - a FOSS online FPS game made with Godot 4 and a 100% open-source toolchain
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Speech to text, or almost voice chat oblector 0 920 06-30-2022, 06:29 PM
Last Post: oblector
  Chat color question Molnija 0 2,331 11-14-2018, 02:26 AM
Last Post: Molnija
  Remove color font from scoreboard and drag notify, but not chat Molnija 6 5,125 09-14-2018, 10:28 PM
Last Post: Molnija
Rainbow Colorful in-game chat Melanosuchus 13 15,621 09-05-2013, 12:49 PM
Last Post: Mr. Bougo
  Chat / taunt HUD portraits (need help from other coders!) MirceaKitsune 12 16,502 03-26-2011, 11:04 PM
Last Post: Lee_Stricklin
  Want to start helping with Xonotic code JayWalker 4 7,284 03-20-2011, 01:46 AM
Last Post: Akari

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-