[Ekiga-list] G729 codec
Jure Petrovic
fonz at siol.net
Thu Apr 5 23:02:55 UTC 2007
Hello,
I am trying to write a g729 codec plugin for ekiga. I know this codec
has several political issues, but please bear with me for a while :)
My codec works and encodes/decodes files without a problem. But trying
it to integrate with Ekiga doesn't work. Codec is designed so, that
it accepts 160 bytes buffer with raw audio data (sampled at 8000Hz,
16bit) and converts it to 10 bytes g729 encoded buffer.
Ekiga says something like this:
from PCM-16
Clock Rate = 8000
Frame Time = 8
Max Bit Rate = 8000
Max Frame Size = 16
Needs Jitter = 1
Rx Frames Per Packet = 6
Tx Frames Per Packet = 6
to G.729
Clock Rate = 8000
Frame Time = 80
Max Bit Rate = 8000
Max Frame Size = 10
Needs Jitter = 1
Rx Frames Per Packet = 6
Tx Frames Per Packet = 6
and
from G.729
Clock Rate = 8000
Frame Time = 80
Max Bit Rate = 8000
Max Frame Size = 10
Needs Jitter = 1
Rx Frames Per Packet = 6
Tx Frames Per Packet = 6
to PCM-16
Clock Rate = 8000
Frame Time = 8
Max Bit Rate = 128000
Max Frame Size = 16
Needs Jitter = 1
Rx Frames Per Packet = 240
Tx Frames Per Packet = 30
In ekiga, everything I send is silence. Is it possible, that I am
calling the encode() function the wrong way? What should I observe?
Regards,
Jure
More information about the ekiga-list
mailing list