Closed DmitrySamoylov closed 4 years ago
Some cameras don't let us to obtain MAC address without auth. We need it to identify cameras though.
The idea is to take host from xaddr URI and resolve MAC using ARP
Vendor can be looked up by mac: https://github.com/flier/rust-manuf
MAC resolved from IP address is actually something not ONVIF-specific and hard to do right cross-platform. ARP lookup may require administrator privileges. So let's leave it to the user for now.
Some cameras don't let us to obtain MAC address without auth. We need it to identify cameras though.
The idea is to take host from xaddr URI and resolve MAC using ARP
Vendor can be looked up by mac: https://github.com/flier/rust-manuf