Streaming from HTTPS with user/pass

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
xirvdev
New Cone
New Cone
Posts: 1
Joined: 22 Mar 2012 13:21

Streaming from HTTPS with user/pass

Postby xirvdev » 22 Mar 2012 13:26

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Streaming from HTTPS with user/pass

Postby Rémi Denis-Courmont » 22 Mar 2012 14:41

It should work with the standalone player. The browser plugin does not provide a login dialog, so it fails.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 50 guests