Using opus codec with pjsip

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

 



On 06/03/2013 12:04 PM, tim chang wrote:
> csipsimple: an android app which use pjsip as sip stack has already implemented the opus support. Maybe you can check
> the csipsimple source codes as reference.
> https://code.google.com/p/csipsimple/

Yep! That's what I did! I made a port from csipsimple to pjsip

>
>
> 2013/6/3 Roberto Fichera <kernel at tekno-soft.it <mailto:kernel at tekno-soft.it>>
>
>     On 06/03/2013 11:38 AM, sahil jindal wrote:
>>     I am developing an app in ios using pjsip. I want to know how to use the opus codec as my preferred codec.
>
>     if you already have installed the opus codec in your pjsip tree, just add the code below after the pjsua_init() call
>
>             pj_str_t codec_id = pj_str( "opus/48000" );
>
>             if ( pjsua_codec_set_priority( &codec_id, PJMEDIA_CODEC_PRIO_HIGHEST ) != PJ_SUCCESS )
>             {
>                 fprintf(stderr, "Warning: Failed to set opus/48000 codec at highest priority\n" );
>             }
>
>
>>     Thanks in advance.
>>
>>
>>     _______________________________________________
>>     Visit our blog: http://blog.pjsip.org
>>
>>     pjsip mailing list
>>     pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org>
>>     http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
>     _______________________________________________
>     Visit our blog: http://blog.pjsip.org
>
>     pjsip mailing list
>     pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org>
>     http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130603/83087a40/attachment-0001.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