Hi all, In pjmedia-codec/silk.c, in function silk_codec_open() /* Inform the stream to prepare a larger buffer since we cannot parse * SILK packets and split it into individual frames. */ attr->info.max_rx_frame_size = attr->info.max_bps * attr->info.frm_ptime / 8 / 1000; if ((attr->info.max_bps * attr->info.frm_ptime) % 8000 != 0) { ++attr->info.max_rx_frame_size; } attr->info.max_rx_frame_size *= SILK_MAX_FRAMES_PER_PACKET; This max_rx_frame_size will be later used to set to frame_size, why is that ? And why should we multiply with SILK_MAX_FRAMES_PER_PACKET? -- Khoa Pham HCMC University of Science Faculty of Information Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130202/c9b3e541/attachment-0001.html>