[asterisk-dev] Meetme/Timing Basics

Kevin P. Fleming kpfleming at digium.com
Sat May 20 12:13:53 MST 2006


Prakash Rao Kanthi wrote:
> Does any one else know how zaptel, streams samples out at 64 kbps rate?
> Because when i send 2 chunks of 160 bytes at zaptel psuedo device back
> to back (with in less than 20ms), two 160 byte chunks are thrown back at
> my application with in the same time duration on psuedo device
> descriptor. It almost seems like zaptel is not timing the data out.
> Because of this the listener on the other end hears a scratchy voice
> unlike a single stream which produces smooth voice.

If you send two frames of audio in, you are going to get two frames of
audio out.

If you are trying to mix two streams together, then you need to open
_two_ pseudo channels and send each source's frames down separate
channels; the read side of each channel will then return back the
'mixed' audio (although with only two channels, each side will only hear
the other side, since the channel's audio is never returned back to it).



More information about the asterisk-dev mailing list