Hi, > I'm using trunk pjsip and I find out that G.711 encoder > (pjmedia/src/pjmedia/g711.c : g711_encode) in most cases does nothing > with timestamp in encoded packet. > > I think encoder should do something like "output->timestamp = > input->timestamp" near the end of the encoding function. A few words extending this topic. There is some discordance in encoding/decoding algorithms for different codecs. G.722, G.722.1, GSM, L16 and G.711 encoder and decoder functions does not set up timestamps in output packets, but IPP codecs, iLBC and speex codecs does this right. The patch in attachment fixes this issue. I believe this patch is pretty trivial, so it can be incorporated without any problems. -- Roman Imankulov roman at netangels.ru -------------- next part -------------- A non-text attachment was scrubbed... Name: encdec.diff Type: text/x-patch Size: 3426 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090530/c1b98adc/attachment.diff>