FalkTannhaeuser / python-onvif-zeep

ONVIF Client Implementation in Python 2+3 (using https://github.com/mvantellingen/python-zeep instead of suds as SOAP client)
MIT License
424 stars 138 forks source link

Use natted ip/port instead of local passed in onvif response #75

Open ashish1405 opened 3 years ago

ashish1405 commented 3 years ago

add the ability to rewrite the address and the port if the camera is in a router with nat. When a camera is behind nat, all the ip/port information received in onvif response, is of local network instead of natted. This patch will use the natted ip/port from where the response is received.