Hi, I'd like to propose to implement in PJMEDIA library such codec features as Speex VBR (variable bit-rate) and ABR (average bit-rate). In order to make one little step forward I propose the patch with basic implementation of these features. The patch has just one new API function: pjmedia_codec_speex_vbr_init(). This function, in comparison with pjmedia_codec_speex_init(), receives two additional optional parameters: - float vbr_quality - int abr_bitrates[3] (three average bitrates values for narrowband, wideband and ultra-wideband mode in this order). I see that this patch maybe looks like a quick and somewhat dirty hack, but it retains PJMEDIA backward compatibility, and I keep the hope that it can become a base of the new functionality. -- Roman Imankulov roman at netangels.ru -------------- next part -------------- A non-text attachment was scrubbed... Name: speex_vbr.diff Type: text/x-patch Size: 7323 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090610/42bc7ec8/attachment.diff>