[SR-Users] rtpengine use of udp

Richard Fuchs rfuchs at sipwise.com
Fri Dec 5 11:14:45 CET 2014


On 05/12/14 04:38 AM, Juha Heinanen wrote:
> what has been the motivation that rtpengine control protocol is using
> udp instead of tcp or ssl?
>
> we have noticed that reply to delete containing stats is too large for a
> single udp packet over ethernet and causes udp fragmentation and
> fragmentation needed requests.

Because that's what the original rtpproxy module used, and it seemed to 
work.

If it were to use TCP and if the stats reply is too large for a single 
packet, the reply would still be sent in multiple packets. Not 
fragmented, but TCP segments. Nothing gained unless you have packet loss.

cheers



More information about the sr-users mailing list