Replies: 1 comment
-
Apparently I just needed to reboot the pi and things worked when I set up the path to have an rtsp stream with the username and password. I tried to do the sha encryption and use that in the path for the rtsp stream, but it did not work. Is there something I need to do in order to pass the sha encrypted username and pw to the rtsp stream? |
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
-
Hi I am new to mediamtx, and I am currently running mediamtx on my raspberry pi 4 using the picam v3 and am able to view the stream on another computer on vlc using the following code in the paths section
I was wanting to add a username and password authentication by following this documentation. I add in a user name and password to the authInternalUsers section, but an unable to view the stream in vlc.
I use the following url to connect to the stream in vlc
rtsp://myusername:[email protected]:8554/cam1
192.168.1.111 is the ip address of the rpi hosting the stream.
I have tried leaving the path part of the configuration yaml the same in addition to adding adding the username and password in the path and both didn't work. I also tried adding $user and $pass in place of myusername and mypassword but that didn't work. Not sure how to incorporate the username and password into the path or if that is even necessary.
This is the output when I try to connect in vlc with the added username and password
Beta Was this translation helpful? Give feedback.
All reactions