I am reaching out to see if anyone in the community has experience or insights regarding the feasibility of placing rtpengine behind a HAProxy UDP load balancer.
I understand that balancing RTP/UDP traffic in this way is generally not a conventional or ideal setup, but I am exploring this possibility for our architecture.
The core issue is related to maintaining the original client IP address when traffic is passed through the balancer. For a proper media session, rtpengine needs to know the true source IP and port of the upstream client for correct routing and security.
I am looking for a mechanism similar to what Kamailio has for SIP/TCP based traffic (tcp_accept_haproxy=yes).
Does rtpengine have a built-in or configurable feature to accept and parse the PROXY protocol header on UDP traffic?
For reference, the PROXY protocol specification is available here:
https://www.haproxy.org/download/1.8/doc/proxy-protocol.txtThank you in advance for your help.