How can I send voip data stream alaw encoded with correct data size?

Uwe Strempel u.strempel at
Tue Jun 14 01:05:53 PDT 2011

I've a problem to send the correct data size over voip?
I've following pipeline:
$ gst-launch alsasrc device=hw:1 ! audioconvert ! level name=recordlevel
interval=10000000 ! audioconvert ! audioresample ! audio/x-raw-int rate=8000
! alawenc ! rtppcmapay ! udpsink host= port=26002

The transmitted rtp -package size is between 512 bytes and 1400 bytes.

How can I force this to 160 bytes or 240 bytes?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list