It depends on the codec / encoding of the data you get in the byte-Array.
In general all formats require packetization, For most Audio codecs the process is simple and the samples can just be encapsulated inside a RtpPacket Payload and sent or received but some require more advanced packetization.
An example of an audio codec which does require packetization is AAC, although I would probably guess that your using AuLaw or MuLaw, both have similar packetization and depacketization processes which are defined in
They should already be supported, let me know if you run into something which is not and I will add support.
I will take a look into the issues you described with 'clicking' and 'artifacts' but the new code only uses threads when told to, meaning that if you don't enable threads your using the same code as you were in older versions (albeit with improvements).