G410 RTSP stream becomes unstable over time—restart temporarily restores normal operation

Hi everyone,

Has anyone experienced recurring RTSP stream instability with the Aqara G410 doorbell?

My G410 is powered by a wired transformer and connected through its chime/repeater. I use Frigate 0.18.2 on Home Assistant OS for person detection, which triggers outdoor lighting automations. Front-door recording in Frigate is disabled.

The stream initially works, but over time it develops repeated timeouts and decoding failures. In the latest logs, Frigate restarted the front-door FFmpeg process 473 times between midnight and approximately 15:15, including 67 restarts in the final hour.

Errors include:

  • Failed reading RTSP data: Connection timed out
  • RTP: bad cseq
  • DTS discontinuity
  • Could not find codec parameters … unspecified size
  • Unable to read frames from ffmpeg process

During troubleshooting:

  • The doorbell responded to network probes with low latency and no packet loss.
  • Both direct RTSP and go2rtc restreaming were tested.
  • Both the main and low-resolution streams were tested.
  • The other camera continued processing normally during these checks.
  • Restarting the G410 doorbell and chime/repeater restored approximately 5 fps with zero skipped frames, with no further stream errors during the subsequent short observation period.

That suggests the restart clears something, although I haven’t established whether the cause is the doorbell, repeater, RTSP implementation, network, or an interaction with Frigate.

Has anyone seen similar behaviour during continuous RTSP use? If so, did a firmware update, setting change, or another fix resolve it?

I can provide firmware versions and relevant log excerpts.

Thanks!

4 Likes

Hi there, it looks like you’re experiencing a support-related issue. We’ve automatically created a support ticket for you and will reach out via the forum email within the next two business days.

If other members have any suggestions or insights on this topic, feel free to share!

Snap! I get the same with mine in Home Assistant.

Same here! I’ve got a Ugreen NAS pulling the RTSP stream, but it eventually stops and only a restart gets it going again. I ended up skipping RTSP and just using FTP to transfer files from the SD card to the NAS

I would say this is expected if you’re trying to run the stream 24/7. It’s a fairly low powered device with little RAM, so you should expect to need a scheduled restart every now and then.

RTSP basically keeps an open TCP connection and you need all of the packets to stay perfectly synced (timed and in order) without losing key frames.

Your errors are exactly what de-sync looks like: RTP: bad cseq = control messages out of order, DTS discontinuity = encoder timestamps jumped/dropped frames, Could not find codec parameters... unspecified size = Frigate reconnected mid-stream and missed the keyframe / SPS-PPS info it needs to decode a picture.

Then the way ffmpeg handles the restarts probably makes it worse. I would see if you can get those to back off and instead schedule a nightly restart of the encoder.

1 Like