Rtppcmupay payload size question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Rtppcmupay payload size question

William Salibrici

I am using the following simple pipeline to stream mulaw audio data to a port. My development machine is windows 7 and I’m using GStreamer 1.10.4 with your windows pre-built binaries.


gst-launch-1.0 -e --gst-debug=*:3


filesrc location=C:/ test.wav !


wavparse ! capsfilter caps="audio/x-mulaw,rate=8000,channels=1" !


rtppcmupay max-ptime=20000000 !


udpsink clients=""



The pipeline runs without errors. The problem is the receiving app [non-gstreamer] is expecting the rtp payload size to be fixed at 160 bytes of mulaw data. The above pipeline fails to do this. For a sample rate of 8000 Hz, 160 bytes of mulaw data corresponds to 20 milliseconds of time. So I tried setting max-ptime as shown above but it doesn’t yield the desired result. I also tried playing with the mtu setting [for rtppcmupay] to no avail.


Is there any way to constrain the rtp payload size for rtppcmupay to a specific number of bytes?

Thanks so much for your help,



gstreamer-devel mailing list
[hidden email]