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

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


Hello,
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=127.0.0.1 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?

Regards
Uwe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110614/88434292/attachment.htm>


More information about the gstreamer-devel mailing list