mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-25 08:23:48 +00:00
hls muxer: ask credentials again after failed attemps
This commit is contained in:
parent
57015e2bf0
commit
478607a602
@ -463,6 +463,9 @@ func (m *hlsMuxer) handleRequest(req *hlsMuxerRequest) func() *hls.MuxerFileResp
|
||||
return func() *hls.MuxerFileResponse {
|
||||
return &hls.MuxerFileResponse{
|
||||
Status: http.StatusUnauthorized,
|
||||
Header: map[string]string{
|
||||
"WWW-Authenticate": `Basic realm="rtsp-simple-server"`,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user