Open petikist opened 1 year ago
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.
A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .
This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).
Describe the bug Live stream is not working on the home app ( camera not reachable after few seconds ). Snapshot are Ok in the main view of the Home App. The live stream is working well inside the interface of Camera UI. Live stream is working for the same camera in the home app when usinge the ffmep plugin
To Reproduce Flash an ESP32 cam with tasmota firmware. Activate the rtsp server Configure camera UI Manually add the app Try to see live stream
Expected behavior Live stream working as expected, and integration of HKSV
Logs [13/08/2023, 16:46:27] [CameraUI] Esp32cam: Fetching snapshot took 7.375 seconds.
[13/08/2023, 16:46:29] [CameraUI] WARNING Esp32cam: Can not access prebuffer stream, skipping: Error: Prebuffer process not started!
[13/08/2023, 16:46:29] [CameraUI] Esp32cam: Starting video stream: native
[13/08/2023, 16:46:36] [CameraUI] WARNING Esp32cam: Getting the first frames took 7.458 seconds.
[13/08/2023, 16:47:00] [CameraUI] Esp32cam: Stopped video stream.
Config :
"name": "CameraUI", "port": 8081, "atHomeSwitch": false, "logLevel": "info", "mqtt": {"active": false,"tls": false,"port": 1883}, "http": {"active": false,"port": 7272,"localhttp": false}, "smtp": {"active": false,"port": 2727,"space_replace": "+"}, "ftp": {"active": false,"useFile": false,"port": 5050}, "ssl": {"active": false}, "options": {"videoProcessor": "/var/lib/homebridge/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg"}, "cameras": [{"name": "Esp32cam", "motion": false, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "forcePrebuffering": false, "prebufferLength": 4, "videoConfig": { "source": "-i rtsp://xx.xx.xx.xx:8554/mjpeg/1", "rtspTransport": "tcp", "maxStreams": 2, "maxFPS": 25, "vcodec": "copy", "acodec": "libfdk_aac", "audio": false, "subSource": "-i rtsp://xx.xx.xx.xx:8554/mjpeg/1", "stillImageSource": "-i rtsp://xx.xx.xx.xx:8554/mjpeg/1"}, "smtp": {}, "videoanalysis": {"active": false}, "mqtt": {}}], "platform": "CameraUI"},