[quake3-commits] [ioquake/ioq3] 615b73: Use Opus for VoIP
Zachary J. Slater
zjs at zacharyjackslater.com
Thu Jan 7 11:28:12 EST 2016
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: 615b73288fb589650f446ebf4e7e9a40192bf7dc
https://github.com/ioquake/ioq3/commit/615b73288fb589650f446ebf4e7e9a40192bf7dc
Author: Zack Middleton <zturtleman at gmail.com>
Date: 2016-01-06 (Wed, 06 Jan 2016)
Changed paths:
M Makefile
M code/client/cl_cgame.c
M code/client/cl_input.c
M code/client/cl_main.c
M code/client/cl_parse.c
M code/client/client.h
M code/client/snd_openal.c
M code/qcommon/qcommon.h
M code/server/server.h
M code/server/sv_client.c
M code/server/sv_init.c
M code/server/sv_main.c
M code/server/sv_snapshot.c
Log Message:
-----------
Use Opus for VoIP
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.)
Commit: 8d38e2307c2932b22d6c2c931479782c8a765eba
https://github.com/ioquake/ioq3/commit/8d38e2307c2932b22d6c2c931479782c8a765eba
Author: Zack Middleton <zturtleman at gmail.com>
Date: 2016-01-06 (Wed, 06 Jan 2016)
Changed paths:
M code/client/cl_parse.c
Log Message:
-----------
Fix some opus_decode issues
It was able to fail the assert before. I was using opus_decode wrong.
Commit: 42dee17663cfc841fe6d0933f5c1dc10463e2dbd
https://github.com/ioquake/ioq3/commit/42dee17663cfc841fe6d0933f5c1dc10463e2dbd
Author: Zachary J. Slater <zjs at zacharyjackslater.com>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Changed paths:
M Makefile
M code/client/cl_cgame.c
M code/client/cl_input.c
M code/client/cl_main.c
M code/client/cl_parse.c
M code/client/client.h
M code/client/snd_openal.c
M code/qcommon/qcommon.h
M code/server/server.h
M code/server/sv_client.c
M code/server/sv_init.c
M code/server/sv_main.c
M code/server/sv_snapshot.c
Log Message:
-----------
Merge pull request #42 from zturtleman/opus_voip_2
Use Opus for VoIP [updated]
Compare: https://github.com/ioquake/ioq3/compare/fe619680f8fa...42dee17663cf
More information about the quake3-commits
mailing list