Re: [Ekiga-list] G729 codec



Jure Petrovic wrote:

..deleted

Nevertheless, there is one thing...I do not know how to set
number of frames per RTP packet and my codec always sends 1 frame per packet (10 milliseconds), whereas asterisk always sends 2
frames/packet (20 millisces). Audio works great, it's just not optimal
for bandwidth usage...

The codec advertises the recommended number of frames per packet in the plugin tables. OPAL will then negotiate the correct number of frames with the remote end, and then use that number to ensure the correct amount of PCM data gets sent to the codec.

The encoder function should consume the maximum amount of PCM data and generate output frames appropriately.

I have asked Damien and Craig couple of times how to set number of
packets in Ekiga, but I just don't get an answer. Maybe they don't like messing with "unclean" code in ekiga. However, my this is plugin
anyway and doesn't have to be included with other software...

I guess I missed the emails :)

  Craig


-----------------------------------------------------------------------
 Craig Southeren          Post Increment – VoIP Consulting and Software
 craigs postincrement com au                   www.postincrement.com.au

 Phone:  +61 243654666      ICQ: #86852844
 Fax:    +61 243656905      MSN: craig_southeren hotmail com
 Mobile: +61 417231046      Jabber: craigs jabber org

 "It takes a man to suffer ignorance and smile.
  Be yourself, no matter what they say."   Sting




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