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?