g729 codec

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

 



Well.. your attribute settings seems fine. For the 33 it will be 20. And in
place of 320, it will be 160.. hope this will give u a jump start..

 

 

 

Rawshan Iajdani 

 

 

From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of S. M. Nazmul Hasan (Opu)
Sent: Wednesday, October 29, 2008 6:12 PM
To: pjsip list
Subject: g729 codec

 


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/20081030/5ebf7af3/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