WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

Can't using with Aqara G5 Pro

Open elliana-wt opened this issue 1 year ago • 5 comments

Aqara G5 Pro Camera can't steam. I can saw the camera view via IINA or VLC on Mac, but in Home Assistant it will loading for a while and then just show nothing.

This is my config:

type: custom:webrtc-camera
url: rtsp://332:[email protected]:8554/1080p

In Aqara Home app:

Image

What show on Home Assistant:

Image

The logs shows some error:

Error from stream worker: Timestamp discontinuity detected: last dts = 42560, dts = 1732267503 Error from stream worker: Timestamp discontinuity detected: last dts = 256499, dts = -5446462622 Error from stream worker: Timestamp discontinuity detected: last dts = 43520, dts = 1731138704 Error from stream worker: Timestamp discontinuity detected: last dts = 10560, dts = 1730622640 Error from stream worker: Timestamp discontinuity detected: last dts = 47360, dts = 1729793863

elliana-wt avatar Jan 24 '25 18:01 elliana-wt

This errors not from this component. This errors form stream component.

Check problem in different browsers. Better to try Chrome. Check stream info/probe in the go2rtc WebUI.

AlexxIT avatar Jan 24 '25 18:01 AlexxIT

This errors not from this component. This errors form stream component.

Check problem in different browsers. Better to try Chrome. Check stream info/probe in the go2rtc WebUI.

The issue does appear only on Safari and the Home Assistant app on iOS, and chrome has no problem.

elliana-wt avatar Jan 24 '25 19:01 elliana-wt

I think the problem can't be solved without having such a camera on hand. I don't have one.

AlexxIT avatar Jan 25 '25 07:01 AlexxIT

I have no problem to use webrtc-camera on Aqara G5 Pro with Microsoft Edge HA core 2025.1.4 on MacMini 2010

Image

Image

niceboygithub avatar Jan 28 '25 01:01 niceboygithub

The stream/connection is established by "media: video"

type: custom:webrtc-camera
url: rtsp://339:[email protected]:8554/1080p
ui: true
title: false
muted: true
media: video
background: true
digital_ptz:
  mouse_double_click_zoom: false

Morpheus2018 avatar Mar 31 '25 09:03 Morpheus2018