diff --git a/internal/core/hls_muxer.go b/internal/core/hls_muxer.go index 2038a9a3..ee14596b 100644 --- a/internal/core/hls_muxer.go +++ b/internal/core/hls_muxer.go @@ -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"`, + }, } } }