If you're interested in using CELT for "real-time" interaction, try llcon. (It'll probably make you decide to stick with NINJAM, tbh... ) ...And longer intervals are better for jamming in many ways, anyway, so shaving ms off the packet size shouldn't really be something to worry about, IMO .

Immediately you bring a second CODEC in, you require support for CODEC negotiation in both client and server, with some mechanism designed in such that existing and clients and servers -- that don't have the negotiation code and only have the one CODEC -- aren't impacted. I guess someone's already solved that somewhere for something. But once you've got a solution, it does allow for future enhancements. Which might be nice...