Codec g729 integration

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

 



You can call your g729 factory init function when init media.
Take a look of pjsip sample "siprtp.c"

static pj_status_t init_media()
...
#if defined(PJMEDIA_HAS_G711_CODEC) && PJMEDIA_HAS_G711_CODEC!=0
    pjmedia_codec_g711_init(app.med_endpt);
#endif
   pjmedia_codec_my_g729_init(app.med_endpt);
...

Codec priority is out of my pjsip knowledge now because I don't care this.

regards,
Gang

On Mon, Aug 4, 2008 at 12:40 PM, Md. Anisur Rahman <aimecse at gmail.com>wrote:

> Thanks Gang. I did  write a g729 codec using coding pattern of gsm.c .But
> where  in code i should modify to use this g729 codec.As far as i know that
> the order of the codec  priority in pjsip is  speex, gsm, g711.......etc.
> How can i set g729 codec priority to highest to use it.
>
>
>
> On 8/2/08, Gang Liu <gangban.lau at gmail.com> wrote:
>>
>> Write a g729 codec for pjmedia and ini codec factory from your source
>> code. You can use G711 or others codec in pjmedia-codec as example.
>>
>> regards,
>> Gang
>>
>>  On Sat, Aug 2, 2008 at 12:56 PM, Md. Anisur Rahman <aimecse at gmail.com>wrote:
>>
>>>  Hi All
>>> I'm trying to integrate  g729 codec into pjsip. I  got the source code
>>> from http://www.voiceage.com/openinit_g729.php.  How can i integrate
>>> g729  codec? I got couples of post in mailing list related to g729 codec  so
>>> i think those  guys can help me more.
>>> Thanks in advance.
>>>
>>> --
>>> Best Regards
>>> Md. Anisur Rahman
>>> Software Engineer
>>> R & D Application
>>> Dhaka, Bangladesh
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Best Regards
> Md. Anisur Rahman
> Software Engineer
> R & D Application
> Dhaka, Bangladesh
> _______________________________________________
> 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/20080804/230cecbd/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