AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
7.14k stars 513 forks source link

HomeKit camera disconnects after a period of time, but reconnects and works normally after restarting go2rtc. #1251

Open AQ-Official opened 4 months ago

AQ-Official commented 4 months ago

HomeKit camera disconnects after a period of time, but reconnects and works normally after restarting go2rtc.

When the disconnect happens, I can't get the video feed either using the HTML stream in go2rtc or the RTSP stream in my NVR. Once I restart, it immediately returns to normal.

I tried pairing it in Hass and then connecting with go2rtc, and I also tried connecting directly with HomeKit, but the result is the same.

Camera: Aqara Doorbell G4 (CN version)

Version: 1.9.4 (hass add-on)

NVR: Synology Surveillance Station 9.1.2

Config:

streams:
  aqara_g4: 
    - homekit://192.168.31.45...
    - ffmpeg:aqara_g4#audio=aac#audio=opus
AQ-Official commented 4 months ago

more info: when disconnect, the "net" page displays like this: image

It should display like this (It DOES now everytime I click the "save&restart" button on the config page even I do not change any config). image