Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed: How to handle authentification with stream link #1164

Closed
praul opened this issue Mar 1, 2021 · 4 comments
Closed

Help needed: How to handle authentification with stream link #1164

praul opened this issue Mar 1, 2021 · 4 comments

Comments

@praul
Copy link

praul commented Mar 1, 2021

Hi there, since #52 introduced a link for streaming to external players, I'm struggling to use this feature.

If I click the link in Chrome, it simply downloads the stream.

I can not open the URL in VLC directly due to missing cookies/authentification.

Would it be possible to add username/password parameters to the streaming url?

How can I use the generated link in VLC? Is there a possibility to auth and set cookie in VLC?

Answers would be much appreciated. Thank you :)

@ghost
Copy link

ghost commented Mar 1, 2021

VLC can't open stream links when you use authentication, you have to disable it.

@praul
Copy link
Author

praul commented Mar 2, 2021

Allright, I handled it with reverse proxy + http basic auth. VLC does support that.

@praul praul closed this as completed Mar 8, 2021
@milindpatel63
Copy link

Can you provide a bit of details on how you achieved this.... I am having similar issue.

@kyuu840
Copy link

kyuu840 commented Oct 1, 2023

For future reference: after setting a username and password, click the Generate API key button (in the Security page, same as where you set the credentials). After that, the external player links in the Scene pages will include the apiKey=... parameter, and VLC and MX Player should work. Don't forget to refresh the Scene page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants