hls muxer: ask credentials again after failed attemps

This commit is contained in:
aler9 2022-12-14 23:51:12 +01:00
parent 57015e2bf0
commit 478607a602

View File

@ -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"`,
},
}
}
}