How to disable codec lock using pjsua

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All

I am struggling to find a way to stop codec lock step pjsip follows if it receives more than one codec in the SDP answer from the remote end.

I tried changing the pjsua_call.c line no. 35, changing LOCK_CODEC_MAX_RETRY to 0 and it does change the behavior but then my application crashes with following assert failing:
File: wav_player.c , line no. 574  - 
pj_assert(fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ULAW || 
          fport->fmt_tag == PJMEDIA_WAVE_FMT_TAG_ALAW);

This was not happening if I had not made the change for disabling the codec lock code.

Please help me disable the codec lock code cleanly.

Best Regards
Vikas Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110929/cdd106fd/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux