From a29a4c7de751b6226650c82ae289f66fa8fa86f9 Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Wed, 16 Aug 2023 19:17:06 +0200 Subject: [PATCH] hls: fix wrong protocol sent to external authentication server (#2213) --- internal/core/hls_http_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/hls_http_server.go b/internal/core/hls_http_server.go index e0175e6a..44660caa 100644 --- a/internal/core/hls_http_server.go +++ b/internal/core/hls_http_server.go @@ -160,7 +160,7 @@ func (s *hlsHTTPServer) onRequest(ctx *gin.Context) { ip: net.ParseIP(ctx.ClientIP()), user: user, pass: pass, - proto: authProtocolWebRTC, + proto: authProtocolHLS, }, }) if res.err != nil {