My camera's ONVIF port is 80, and that seems to make it hard to pass a URI to examples/camera that it will accept.
$ ./target/debug/examples/camera get-all --uri http://192.168.1.200/
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
"Service URI http://192.168.1.200:80/Device is not within base URI http://192.168.1.200/"',
onvif/examples/camera.rs:404:45
$ ./target/debug/examples/camera get-all --uri http://192.168.1.200:80/
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
"Service URI http://192.168.1.200:80/Device is not within base URI http://192.168.1.200/"',
onvif/examples/camera.rs:404:45
My camera's ONVIF port is 80, and that seems to make it hard to pass a URI to examples/camera that it will accept.
It seems to be due to this code in example.rs: