|
|
|
@ -160,7 +160,7 @@ func (s *hlsHTTPServer) onRequest(ctx *gin.Context) { |
|
|
|
ip: net.ParseIP(ctx.ClientIP()), |
|
|
|
ip: net.ParseIP(ctx.ClientIP()), |
|
|
|
user: user, |
|
|
|
user: user, |
|
|
|
pass: pass, |
|
|
|
pass: pass, |
|
|
|
proto: authProtocolWebRTC, |
|
|
|
proto: authProtocolHLS, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}) |
|
|
|
}) |
|
|
|
if res.err != nil { |
|
|
|
if res.err != nil { |
|
|
|
|