-
Notifications
You must be signed in to change notification settings - Fork 63
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
advertised device mgmt uri not expected #77
Comments
There is an option called '--service-path' that you can pass from the command line. Use like $ ./target/debug/examples/camera get-hostname --uri http://192.168.1.200:80/ --service-path=Device |
The problem is due to the fact that the URI in the reply contains I found the following change to
I can probably fork and PR this, but it doesn't seem like PRs are going through, aren't they? EDIT: Just found out there's already #101 exactly for this, from last December.. |
This should be fixed in #105 (the other PR failed CI checks, so hasn't been merged). Right now, I don't have a camera that outputs a URL with the port number to test it, so feel free to comment here if it worked or not. |
Confirming it now works. |
I have a "Hikvision Compatible Outdoor 8MP PTZ PoE IP Camera Speed Dome, Pan Tilt 18xOptical Zoom 30x Digital Zoom with 165ft IR Night Vsion, Motion Detect,WDR,IP66,PTZ IP Camera(4818X-IZ)", and examples/camera.rs fails with this:
if I comment out the code that performs that check, it seems to work:
The text was updated successfully, but these errors were encountered: