Browse Source

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

pull/2216/head
Alessandro Ros 2 years ago committed by GitHub
parent
commit
a29a4c7de7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      internal/core/hls_http_server.go

2
internal/core/hls_http_server.go

@ -160,7 +160,7 @@ func (s *hlsHTTPServer) onRequest(ctx *gin.Context) { @@ -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 {

Loading…
Cancel
Save