Re: Voice codec calculation

From: Sasa Milic (smilic2@pexim.co.yu)
Date: Wed Oct 15 2003 - 06:24:24 GMT-3


g729 uses 10 bytes per sample, and typically you'll have
2 samples per frame - so, you'll specify 20 bytes in command.

BTW, 60 bytes VoIP payload per frame is:

  20 bytes IP header
   8 bytes UDP header
  12 bytes RTP header
  20 bytes for 2 g729 samples

Use CRTP to compress all 3 headers to 4 bytes.

Regards,
  Sasa

> Hunt Lee wrote:
>
> If there are 2 phones. Phone A and Phone B that are talking g729r8 with
> each other, and it will transmit 60 bytes of VoIP payload per frame (nb:
> it doesn't include data link overhead).
>
> How do I calculate what this value should be?
>
> Lab39_R7(config-class)#codec preference 1 g729r8 ?
> bytes Specify number of voice data bytes per frame

***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***



This archive was generated by hypermail 2.1.4 : Mon Nov 24 2003 - 07:53:02 GMT-3