Have searched here and on the general internet but haven't found anything that resembles a formal bug ticket so I am asking here before creating one.
I have an HLS stream on a server (Apache, HTTPS) that requires basic authentication. It plays fine using VideoJS (https://videojs.com/) within Chrome (MacOS) / Chromium (Linux). When I try to play the stream using VLC by providing the address for the stream.m3u8, it pops up a username/password dialog (twice, strangely) and then uses these credentials to fetch the m3u8 successfully. However, it then tries to fetch the streamXX.ts files without using the credentials, and gets 401:
Code: Select all
main debug: `https://server/dir/stream.m3u8' successfully opened
...
adaptive error: Failed reading https://server:443/dir/stream55.ts: HTTP/1.1 401 Authorization Required
main debug: no demux modules matched
adaptive error: Failed to create demuxer 00000000 TS
main debug: EOF reached
main debug: removing module "adaptive"
main debug: removing module "record"
main debug: removing module "prefetch"
main debug: removing module "access"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt debug: IM: Deleting the input
This is not an internet-facing stream so unfortunately I can't provide anything to test against; however it would be fairly trivial to set up an HTTPS on your localhost with basic auth enabled to replicate the bug.
Same result whether on Windows (10) or Linux (Arch); VLC v3.0.6.
If anyone has any input I would surely appreciate it. If not perhaps I will go ahead and create a ticket?
Thank you for your attention.