This commit is contained in:
Soph :3 2025-11-24 20:47:30 +02:00
parent ab8b9f5315
commit 7eec0f88e4

View file

@ -31,6 +31,8 @@ func CreateServer(parentCtx context.Context, host string, port int, relay *libip
h := &handler{} h := &handler{}
gs := &gortsplib.Server{ gs := &gortsplib.Server{
Handler: h, Handler: h,
UDPRTPAddress: ":8000",
UDPRTCPAddress: ":8001",
RTSPAddress: fmt.Sprintf("%s:%d", host, port), RTSPAddress: fmt.Sprintf("%s:%d", host, port),
} }