[pjsip] I want to integrate g729 with pjsip

Anshuman S. Rawat arawat at 3clogic.com
Thu Apr 3 03:15:24 EDT 2008


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: [pjsip] 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 





More information about the pjsip mailing list