go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

Error opening stream (INVALIDDATA) from HomeKit source (Aqara G2H)

Open x-iLex-x opened this issue 9 months ago • 18 comments

I have an Aqara G2H camera added to my HA via HomeKit Controller. When I try to receive rtsp stream from go2rtc, I add "?video&audio=aac" to rtsp link and get an error, stream goes to be in “unavailable” state. Without adding this to link I can get stream, but, as expected, it doesn’t run how it should.

Same time I have an Aqara G3 cam, running on another server. The same rtsp link format with same go2rtc config works fine with it.

I see that “stream” integration causes an error, but can’t guess the reason. Am I doing smth wrong? How do I get working rtsp stream for G2H cam?

Регистратор: homeassistant.components.stream.stream.camera.camera
Источник: components/stream/__init__.py:448
интеграция: Stream ([документация](https://www.home-assistant.io/integrations/stream), [проблемы](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+stream%22))
Первое сообщение: 18:36:53 (1 сообщений)
Последнее сообщение: 18:36:53

Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@192.168.0.116:8554/camera.aqara?video=&audio=aac

x-iLex-x avatar May 02 '24 15:05 x-iLex-x