Browse Source

hls muxer: ask credentials again after failed attemps

pull/1242/head
aler9 3 years ago
parent
commit
478607a602
  1. 3
      internal/core/hls_muxer.go

3
internal/core/hls_muxer.go

@ -463,6 +463,9 @@ func (m *hlsMuxer) handleRequest(req *hlsMuxerRequest) func() *hls.MuxerFileResp
return func() *hls.MuxerFileResponse { return func() *hls.MuxerFileResponse {
return &hls.MuxerFileResponse{ return &hls.MuxerFileResponse{
Status: http.StatusUnauthorized, Status: http.StatusUnauthorized,
Header: map[string]string{
"WWW-Authenticate": `Basic realm="rtsp-simple-server"`,
},
} }
} }
} }

Loading…
Cancel
Save