iOS - error with pjsua_codec_set_priority

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

 



Hi all,

I'm trying to change the default priority to some of the codecs used by
pjsip in my iOS App.

After looking at some examples, I'm writing something like this:

pj_str_t tmp;
const pj_str_t *ilbc = pj_cstr(&tmp, "iLBC/8000/1");
pjsua_codec_set_priority(ilbc, (pj_uint8_t)PJMEDIA_CODEC_PRIO_HIGHEST);


Every time, though, pjsua_codec_set_priority throws an EXC_BAD_ACCESS
exception and I can't figure out what is wrong with that.


Any idea?


Thanks,

Alberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150313/090e887f/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