Rtppcmupay payload size question

William Salibrici bsalibrici at latticeinc.com
Thu Aug 3 13:46:58 UTC 2017


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="192.168.1.103:6000"





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,
Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170803/dfdd8b55/attachment.html>


More information about the gstreamer-devel mailing list