mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 05:31:29 +00:00
615b73288f
Server/client VoIP protocol is handled by adding new cvars cl_voipProtocol and sv_voipProtocol, sv_voip and cl_voip are used to auto set/clear them. All users need to touch are cl/sv_voip as 0 or 1 just like before. Old Speex VoIP packets in demos are skipped. New VoIP packets are skipped in demos if sv_voipProtocol doesn't match cl_voipProtocol. Notable difference between usage of speex and opus codecs, when using Speex client would be sent 80ms at a time. Using Opus, 60ms is sent at a time. This was changed because the Opus codec supports encoding up to 60ms at a time. (Simpler to send only one codec frame in a packet.) |
||
---|---|---|
.. | ||
server.h | ||
sv_bot.c | ||
sv_ccmds.c | ||
sv_client.c | ||
sv_game.c | ||
sv_init.c | ||
sv_main.c | ||
sv_net_chan.c | ||
sv_rankings.c | ||
sv_snapshot.c | ||
sv_world.c |