Very clever. Thank you. _____ From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Benny Prijono Sent: Friday, August 29, 2008 5:50 AM To: pjsip list Subject: Re: Query Codec In Use On Thu, Aug 28, 2008 at 7:09 PM, Archie Rosenblum <archie at bbsti.com> wrote: Is there a way to determine which codec is being use for a call with pjsua? I can use pjsua_call_dump and parse the results, but I was hoping there might be an API that I missed. No API to get the media stream of the call yet, but you can implement the on_stream_created()/on_stream_destroyed() pjsua callbacks to get the media session instance, and get the stream info to get the codec. Cheers Benny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080829/f3a9a65a/attachment-0001.html