New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error opening stream (INVALIDDATA) from HomeKit source (Aqara G2H) #1079
Comments
All communication should be in English in this repo |
My bad, updated in English. |
Show your go2rtc config |
Are you sure this stream works fine inside go2rtc WebUI? Can you hear audio? |
Yes, video and audio works without any issues inside go2rtc WebUI. |
Sometimes I can add rtsp stream into HA an it stays in idle state, like it’s normal, before first opening. When I try to open and watch stream - it goes to “unavailable” and starts changing its state between unavailable and idle every several minutes, causing errors on log. |
Why you want this camera as entity? |
First case is to transfer camera entity to yandex smart home. Second case is to use camera.record and camera.snapshot services for telegram notifications. |
Ok. This make sense. I needs to test this case myself. |
Waiting for news, thx. I’ll try to test on my another server. |
Well. I have same issue on my Raspberry 3. And don't have issue on Intel Nuc. I think this is related to ffmpeg arm library. |
Thanks for news. I’m using JetHub H1 (based on amlogic) as server with Aqara G2H cam. As you did, I’ve done tests and had no issues on my another servers based on intel. So, is there any way or chance to get it working on my JetHub? |
JetHub also ARM based. You can try to use ffmpeg camera instead of generic. But important to select copy codec to avoid transcoding. |
Could you pls show how do link for ffmpeg should looks like? 🙏🏼 I’m stuck with “copy codec” 😅 |
Don't know. Never used ffmpeg camera |
Seems like I've guessed how to, but, unfortunately I have same error as mentioned in issue. |
It's hard for me to fix the bug because I have to reproduce the arm dev environment |
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?
The text was updated successfully, but these errors were encountered: