Closed mechwave closed 3 months ago
2 years have passed, same stuff)
I've the same problem, but I don't know how to solve it.
I see there are three issues related to this bug:
The older message in these issues has been posted in 2019, however the project looks still alive (currently, the last commit has been pushed 4 months ago).
Actually, in the issue #75, users davidea72 and duborgis proposed a solution (I didn't test if it does actually fix the bug, btw). It has not been merged yet by repo's owner, so @FalkTannhaeuser please review and merge it
Done
Done
This doesn't work. I tried calling the wsdls and IPs returned are still local. I need this for frigate and even with the #75 merge it doesn't work.
Same :(
This code is correctly executed on the client on the same subnet as the camera:
mycam = ONVIFCamera('192.168.0.105', 8999, 'admin', 'password', 'wsdl/')
ptz_service = mycam.create_ptz_service()
ptz_conf = ptz_service.GetConfigurations()
But this does not work when I try to connect through a router with a configured port forwarding. create_ptz_service returns object contained local camera network address, and i can't connect to camera using this address. Trying to change xaddr is no effect.