I want to integrate g729 with pjsip

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

 



Which project did you add your g729 source file to? We added it to the 
pjmedia-codec project.

For integration, we followed the same pattern as in g711.c. That pretty 
added our codec though we ran into VQ issues later as some of our codec 
config were wrongly set. For starters have these functions implemented for 
your codec

static pjmedia_codec_op g729_op =
{
&g729_codec_init,
&g729_codec_open,
&g729_codec_close,
&g729_codec_modify,
&g729_codec_parse,
&g729_codec_encode,
&g729_codec_decode,
&g729_codec_recover
}

which are the same for G711 too. AFAIK, all these functions need to defined 
though the implementation can be left empty for ones you dont need or your 
codec doesn't support.

See g711.c for more details.


Regards,
Anshuman


----- Original Message ----- 
From: hlzhangxt
To: pjsip at lists.pjsip.org
Sent: Thursday, April 03, 2008 11:33 AM
Subject: I want to integrate g729 with pjsip





 I download itu g729b source code, and make some change of pjmedia-codec.
  now I run pjusa, and input "Cp", I can see the g729/800.

  But when I use pjusa with g729, there is no voice.

 So, who can help me or send me the g729 source code which can be integrated 
with pjsip easily.


              Thanks
              Regards




? ? ? ? ? ? --- ? ? ? ? ? ? ?166 ? ? ? ? ? ? ?



_______________________________________________
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




No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.5/1356 - Release Date: 4/2/2008 
4:14 PM 




[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