lumeohq / onvif-rs

A native Rust ONVIF client library.
MIT License
114 stars 61 forks source link

IP camera IP address #89

Closed babashunsuke closed 9 months ago

babashunsuke commented 2 years ago

IP camera may have multiple IP addresses. e.g. Link local and DHCP (IPv4). However the ONVIF library returns one of them.

Alibirb commented 9 months ago

I think this may have been fixed in https://github.com/lumeohq/onvif-rs/commit/81f145c792d1ba429778cd821635be6913fb1bb9

The url field was changed to urls and turned into a Vec. I'm currently trying to get one of my cameras to actually report multiple URLs so I can verify this (and test that my own application handles it appropriately).

SamuelYvon commented 9 months ago

I use this library extensively. It reports multiple URLs properly on my end.