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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user