faithoflifedev / easy_onvif_workspace

This package works with a variety of ONVIF compatible devices allowing for IP Cameras and NVRs (network video recorders) to be integrated into Dart and Flutter applications.
33 stars 21 forks source link

MulticastProbe with Auth #44

Closed nikitakubasov closed 1 year ago

nikitakubasov commented 1 year ago

Since a recent update Axis cameras require a digest authentication header to access onvif/device_service.

Since the library currently doesn't support it, Axis devices can no longer be detected using the probe.

A solution would be the option to supply a username / password when doing a MulticastProbe.

faithoflifedev commented 1 year ago

Hello @nikitakubasov, thanks for the feedback.

It's been a while since I looked at the spec, but I don't remember seeing an option to send authentication with the probe. If you can supply a documented spec for this then I could take a look at implementing it.

nikitakubasov commented 1 year ago

Hi @faithoflifedev, thanks for the reply.

Apparently, the reason of the error is something else:

https://github.com/FalkTannhaeuser/python-onvif-zeep/issues/90 https://github.com/FalkTannhaeuser/python-onvif-zeep/issues/42

Axis cameras seem to have an security feature, which was recently enabled by default. Disabling it is a workaround.

faithoflifedev commented 1 year ago

@nikitakubasov , thanks for referencing the solution.