-
Notifications
You must be signed in to change notification settings - Fork 549
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
RTSP authentication with username only? #565
Comments
Hm, so you mean you have credentials that consist of only a user name and an empty password and cannot be changed? It could be a bug that motion doe not expect empty password. This would need to be checked Meanwhile, have you tried |
Yes, this results in the following: [3:ml3] [ALR] [NET] netcam_start: Network Camera thread starting... for url (rtsp://admin:@192.168.0.xxx:554/) |
Ok, then we need to wait for @Mr-Dave 's input whether empty password works in motion's rtsp |
Based upon the above, what are the results when you do not specify the username at all? Typically, if there is no password, that means, there is no authentication at all. Also, you should try the exact url (rtsp://admin:@192.168.0.xxx:554/) in ffplay and validate it works there. Additional note: You should check version 4.1 rather than 4.0. Also make sure to specify the username only in the configuration parameter rather than embedded into the configuration parameter url. In version 4.1, it takes the configuration parameter "as is" and simply prepends it the url rather than trying to parse out a username and password which is what it did in version 4.0. |
No username at all returns a 401 as well. When using ffplay on my laptop it works. |
Please make sure to update the status after you have upgraded to Motion version 4.1 |
Upgrading fixed my issue, thanks! :) |
I'm trying to integrate two Guudgo SC-02 camera's, which have a RSTP stream which I can access just fine through VLC.
Only the username is set (admin) and cannot be changed, and I'm trying to configure the stream to authenticate without the password (also cannot be set).
If I set no password (see below), motion does no authentication at all, but I would expect motion to use at least the username;
netcam_userpass admin:
netcam_url rtsp://192.168.0.xxx:554/
Is there any way to allow this? The result URL should be;
rtsp://admin@192.168.0.xxx:554/
The text was updated successfully, but these errors were encountered: