lock down RTSP Streams for anonymous users #4847
Replies: 2 comments 1 reply
-
|
Did you get this figured out yet? Just looking at this since it's three days old. I don't want to spend time gathering an answer if you don't need it. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hello, the problem here is that VLC caches credentials, so if you authenticated once, you are authenticated for life. Other than that, instructions on how to implement authentication are in the README: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi Everyone
I am facing the following Issue:
I have multiple streams, which I want to proxy with MediaMTX (MediaMTX v1.13.1). Each stream should have multiple users that can access the same stream. Each stream needs to be authenticated by a user and password, there should be no "any" user or any stream without user credentials.
The following command gets me a stream even though it should not:
vlc --rtsp-tcp rtsp://someIP:8554/teststreamThe following does get me an auth error, as it should ("closed: authentication error"):
vlc --rtsp-tcp rtsp://any:any@someIP:8554/teststreamThe following does get me a stream as it should:
vlc --rtsp-tcp rtsp://testUser1:testUser1@someIP:8554/teststreamI tried multiple things to lock down the streams, but somehow I can not figure out how to only allow authenticated users to access the RTSP Streams. It does not matter how I configure it, the stream is always available to a non authenticated user.
What is the correct way to do the above with MediaMTX and local Authentication (or LDAP auth)?
Best regards
Bischi
The following things I already tried:
Beta Was this translation helpful? Give feedback.
All reactions