hls: fix wrong protocol sent to external authentication server (#2213)

This commit is contained in:
Alessandro Ros 2023-08-16 19:17:06 +02:00 committed by GitHub
parent 7e0fb20eed
commit a29a4c7de7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {