I get the error after running the docker image:
docker run --rm -v "/home/hefti/unifi-cam/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip "<Camera IP>" --host <Unifi Protect IP> --mac 'AA:BB:CC:00:00:01' --cert /client.pem --token <Adoption token> rtsp -s rtsp://user.pass@cameraip/
Traceback (most recent call last):
File "/usr/local/bin/unifi-cam-proxy", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/unifi/main.py", line 116, in main
cam = klass(args, logger)
File "/usr/local/lib/python3.8/site-packages/unifi/cams/rtsp.py", line 14, in __init__
super().__init__(args, logger)
File "/usr/local/lib/python3.8/site-packages/unifi/cams/base.py", line 48, in __init__
self._ssl_context.load_cert_chain(args.cert, args.cert)
IsADirectoryError: [Errno 21] Is a directory
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
I get the error after running the docker image:
docker run --rm -v "/home/hefti/unifi-cam/client.pem:/client.pem" keshavdv/unifi-cam-proxy unifi-cam-proxy --verbose --ip "<Camera IP>" --host <Unifi Protect IP> --mac 'AA:BB:CC:00:00:01' --cert /client.pem --token <Adoption token> rtsp -s rtsp://user.pass@cameraip/
Version of Unifi Protect
2.7.18