Closed Erejr closed 3 weeks ago
My Unifi Protect cameras does not show livestream in Homekit.
I have just installed homebridge on my raspberrypi coming from HOOBS hoping the livestream of cameras will work smoother.
G4 Garage Side [G4 Bullet]: Streaming request from 192.168.30.145: 1280x720@30fps, 299 kbps. Transcoding 1280x720@24fps (Medium) [H264], 2,000 kbps [RTSP]. [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: Stopped video streaming session. [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: FFmpeg process ended unexpectedly with an exit code of 1. [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: FFmpeg (6.0-homebridge-alpine-aarch64-static) command that errored out was: /var/lib/homebridge/node_modules/homebridge-unifi-protect/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -nostats -fflags +discardcorrupt -max_delay 500000 -flags low_delay -r 24 -probesize 16384 -avioflags direct -rtsp_transport tcp -i rtsps://192.168.40.1:7441/RdI0w8ADSXPT87Pj?enableSrtp -map 0:v:0 -c:v libx264 -preset veryfast -profile:v main -level:v 4.0 -noautoscale -bf 0 -filter:v format=yuvj420p, scale=-2:min(ih\,720) -g:v 120 -bufsize 598k -maxrate 363k -crf 20 -reset_timestamps 1 -payload_type 99 -ssrc 13917716 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 8ScQHwgtHuMsQS5vbgbYFJxbf6/xMtwMLmhN4KOQ srtp://192.168.30.145:61146?rtcpport=61146&pkt_size=1378 -map 0:a:0? -acodec libfdk_aac -afterburner 1 -eld_sbr 1 -eld_v2 1 -profile:a 38 -flags +global_header -f null -ar 24k -b:a 24k -bufsize 48k -ac 1 -frame_size 720 -payload_type 110 -ssrc 711375 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Oj1Vl2VOn8LFDxhY9BKPzBc22NotJ7QRtRxtUOxe srtp://192.168.30.145:59303?rtcpport=59303&pkt_size=160 [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: rtsps://192.168.40.1:7441/RdI0w8ADSXPT87Pj?enableSrtp: Immediate exit requested [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: Exiting normally, received signal 15.
No response
v4.56.4
v1.8.4
v20.15.0
Official Homebridge Raspberry Pi Image
None
Raspberry Pi 4 B
Sorry, this was a mistake. I will delete.
Current Situation
My Unifi Protect cameras does not show livestream in Homekit.
I have just installed homebridge on my raspberrypi coming from HOOBS hoping the livestream of cameras will work smoother.
Logs
G4 Garage Side [G4 Bullet]: Streaming request from 192.168.30.145: 1280x720@30fps, 299 kbps. Transcoding 1280x720@24fps (Medium) [H264], 2,000 kbps [RTSP]. [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: Stopped video streaming session. [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: FFmpeg process ended unexpectedly with an exit code of 1. [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: FFmpeg (6.0-homebridge-alpine-aarch64-static) command that errored out was: /var/lib/homebridge/node_modules/homebridge-unifi-protect/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -nostats -fflags +discardcorrupt -max_delay 500000 -flags low_delay -r 24 -probesize 16384 -avioflags direct -rtsp_transport tcp -i rtsps://192.168.40.1:7441/RdI0w8ADSXPT87Pj?enableSrtp -map 0:v:0 -c:v libx264 -preset veryfast -profile:v main -level:v 4.0 -noautoscale -bf 0 -filter:v format=yuvj420p, scale=-2:min(ih\,720) -g:v 120 -bufsize 598k -maxrate 363k -crf 20 -reset_timestamps 1 -payload_type 99 -ssrc 13917716 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 8ScQHwgtHuMsQS5vbgbYFJxbf6/xMtwMLmhN4KOQ srtp://192.168.30.145:61146?rtcpport=61146&pkt_size=1378 -map 0:a:0? -acodec libfdk_aac -afterburner 1 -eld_sbr 1 -eld_v2 1 -profile:a 38 -flags +global_header -f null -ar 24k -b:a 24k -bufsize 48k -ac 1 -frame_size 720 -payload_type 110 -ssrc 711375 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Oj1Vl2VOn8LFDxhY9BKPzBc22NotJ7QRtRxtUOxe srtp://192.168.30.145:59303?rtcpport=59303&pkt_size=160 [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: rtsps://192.168.40.1:7441/RdI0w8ADSXPT87Pj?enableSrtp: Immediate exit requested [25/08/2024, 12:47:21 am] [UniFi Protect] G4 Garage Side [G4 Bullet]: Exiting normally, received signal 15.
Config
No response
Homebridge UI Version
v4.56.4
Homebridge Version
v1.8.4
Node.js Version
v20.15.0
Operating System
Official Homebridge Raspberry Pi Image
Environment Info
None
Raspberry Pi Model
Raspberry Pi 4 B