Open ThomasCr opened 2 years ago
This version does support TLS
from onvif import ONVIFCamera
from requests import Session
from zeep.transports import Transport
session = Session()
session.verify = False # Only if you need to not validate certificates, not recommended for production
transport = Transport(session=session)
# You have to specify https in the hostname for it to work properly
mycam = ONVIFCamera('https://1.1.1.1', 443, 'admin', '1234', transport=transport)
would be nice to have TLS/SSL support, because my cam only supports https access.