Page 1 of 1

Streaming from HTTPS with user/pass

Posted: 22 Mar 2012 13:26
by xirvdev
Is it possible to stream a video (in particular, using the browser plugins, but I assume the answer is the same for the stand alone player) that is server via HTTPS and that requires HTTP basic authentication?

For example suppose

https://www.example.com/video.mp4

Returns HTTP/401 (unauthorized) so that the browser opens a popup asking for user/pass. You type it and then the browser sends the credentials along the request and saves the video.

Is it possible for VLC to stream that video? Ideally without asking for user/pass (since the user is already in the page and the browser has the correct credentials), but that would be acceptable if at least works :-)

To make it more clear this is about using VLC as a player, not as a server. The file is available directly from a web server but it requires auth, and HTTPS in order to access the media.

Re: Streaming from HTTPS with user/pass

Posted: 22 Mar 2012 14:41
by RĂ©mi Denis-Courmont
It should work with the standalone player. The browser plugin does not provide a login dialog, so it fails.