seydx / homebridge-camera-ui

Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support
MIT License
638 stars 92 forks source link

Livestream working in Camera.Ui but not in HomeKit #957

Open BetterIn opened 1 month ago

BetterIn commented 1 month ago

For now, I only have one "Camera". It's simply a restream of my Octoprint webcam stream, and so far I have only gotten a still picture every 20 seconds (or more), but as soon as I want to see the stream, it just doesn't load and eventually just stops trying to connect.

My Config:

"cameras": [ { "name": "Octoprint", "motion": true, "motionTimeout": 15, "unbridge": false, "hsv": true, "prebuffering": true, "forcePrebuffering": true, "prebufferLength": 4, "hksvConfig": { "source": "-i http://192.168.188.159/webcam/?action=stream" }, "videoConfig": { "source": "-i http://192.168.188.159/webcam/?action=stream", "subSource": "-i http://192.168.188.159/webcam/?action=stream", "stillImageSource": "-i http://192.168.188.159/webcam/?action=stream", "maxFPS": 15, "vcodec": "copy", "audio": false, "debug": true }, "smtp": { "email": "Octoprint" }, "videoanalysis": { "active": true }, "mqtt": {} } ], "_bridge": { "username": "0E:4C:D7:29:F0:7B", "port": 58778

I am also sometimes getting this error: [7/23/2024, 6:55:37 PM] [CameraUI] ERROR Octoprint: FFmpeg exited with code: 1 and signal: null