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
428 stars 140 forks source link

How to judge the onvif camera is still online? #9

Open LegionFu opened 6 years ago

LegionFu commented 6 years ago

Hello, I want create a application to managing some cameras , and i found a problem when i running the application : if a online camera has disconnected, and i still use this camera reference to visit the camera mycam.media_service.GetProfiles() , the return value is nothing ( not 'None' ) ,my code will stopping execute and skipping the following code ( no errors ) can you help me ?