[pjsip] g729 codec
S. M. Nazmul Hasan (Opu)
apus29 at gmail.com
Wed Oct 29 08:11:54 EDT 2008
Hi Benny,
I am trying to add voice-age g729 codec with PJSIP for symbian. but i am
getting some difficulties while following the gsm.c file.
1. while creating g729 codec private data
what should i declare in replace of
// struct gsm_state *encoder;
// struct gsm_state *decoder;
in "l16.c" its only use the frame size ..
2. in Generate default attribute.
i have changed the value to this. is it ok?
attr->info.clock_rate = 8000;
attr->info.channel_cnt = 1;
attr->info.avg_bps = 8000;
attr->info.max_bps = 8000;
attr->info.pcm_bits_per_sample = 16;
attr->info.frm_ptime = 10;
3. In gsm.c there is some hard coding in *gsm_codec_parse(*
-- what will be the value in replace of "33" here
4. frame_size and sample_per_frame are also not clear to me..
Sorry for lot of questions and may be those are lot easier to ask.. but
really i am not good in codec..
waiting for reply.
Thanks
S. M. Nazmul Hasan Opu
Software Engineer
R & D Application
Dhaka, Bangladesh
Mob: +880 1712 901 764
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081029/5e5d33e3/attachment-0001.html>
More information about the pjsip
mailing list