gozoinks / homebridge-camera-ffmpeg-ufv

UniFi Video plugin for Homebridge
https://www.npmjs.com/package/homebridge-camera-ffmpeg-ufv
Other
76 stars 20 forks source link

Cannot read property 'length' of null #15

Open iuriimarchenko opened 6 years ago

iuriimarchenko commented 6 years ago

Hello! I had such a problem with the plugin:

camera-ffmpeg-ufv Discovered NVR NVR +0ms camera-ffmpeg-ufv Discovered server NVR +0ms camera-ffmpeg-ufv Discovered RTSP enabled camera ff9a244d-6090-3e7b-b703-e323810c8fc8 +1ms camera-ffmpeg-ufv Config: {"source":"-rtsp_transport http -re -i rtsp://10.1.10.16:7447/5a7da761c2dcfd8e4dc2c667_0?apiKey=E6mzzamX5VXJJwAkl3XaftP4MGr4lvi4","stillImageSource":"https://192.168.1.6:7443/api/2.0/snapshot/camera/5a7da761c2dcfd8e4dc2c667?force=true&apiKey=E6mzzamX5VXJJwAkl3XUftP4MGr4lvy4","maxStreams":2,"maxWidth":1920,"maxHeight":1080,"maxFPS":24} +0ms camera-ffmpeg-ufv {"name":"UVC-Enterence-2","videoConfig":{"source":"-rtsp_transport http -re -i rtsp://10.1.10.16:7447/5a7da761c2dcfd8e4dc2c667_0?apiKey=E6mzzamX5VXJJwAkl3XaftP4MGr4lvy4","stillImageSource":"https://192.168.1.6:7443/api/2.0/snapshot/camera/5a7da761c2dcfd8e4dc2c667?force=true&apiKey=E6mzzamX5VXJJwAkl3XUftP4MGr4lvi4","maxStreams":2,"maxWidth":1920,"maxHeight":1080,"maxFPS":24}} +0ms camera-ffmpeg-ufv Error parsing JSON! TypeError: Cannot read property 'length' of null +2ms

jmbwell commented 5 years ago

Does #32 fix this?