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.
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
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...)
[Image: BSF48.png][Image: HMITP48.png][Image: S48.png][Image: TLT48.png]
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Chat color question Molnija 0 620 11-14-2018, 02:26 AM
Last Post: Molnija
  Remove color font from scoreboard and drag notify, but not chat Molnija 6 1,238 09-14-2018, 10:28 PM
Last Post: Molnija
Rainbow Colorful in-game chat Melanosuchus 13 9,582 09-05-2013, 12:49 PM
Last Post: Mr. Bougo
  Chat / taunt HUD portraits (need help from other coders!) MirceaKitsune 12 11,378 03-26-2011, 11:04 PM
Last Post: Lee_Stricklin

Forum Jump:


Users browsing this thread:
1 Guest(s)

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