rtmp, rtsp: support PROXY protocol (#5754)

Support PROXY protocol v1/v2 on RTMP, RTMPS, RTSP, and RTSPS TCP
listeners so real client IPs are visible when running behind L4 proxies
(nginx stream, HAProxy, AWS NLB).

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
This commit is contained in:
Alex McKenzie
2026-06-05 21:37:53 +02:00
committed by GitHub
co-authored by aler9
parent f5d7ed3138
commit b2dc62e13c
27 changed files with 1009 additions and 489 deletions
+8
View File
@@ -449,6 +449,10 @@ components:
type: array
items:
$ref: "#/components/schemas/RTSPAuthMethod"
rtspTrustedProxies:
type: array
items:
type: string
rtspUDPReadBufferSize:
type: integer
format: uint64
@@ -472,6 +476,10 @@ components:
type: string
rtmpServerCert:
type: string
rtmpTrustedProxies:
type: array
items:
type: string
# HLS server
hls: