NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
412 stars 52 forks source link

[Help needed]: live camera streaming doesn't work on apple tv 4k 1gen #535

Closed daddvok closed 3 weeks ago

daddvok commented 9 months ago

Your Current NRCHKB Plugin Version

1.5.0

Operating System

RPi

How can we help?

The camera added to Homekit shows a live broadcast from any device, iPhone, iPad, apple tv 4k 2 gen but the stream does not start only on apple tv 1 gen need help, what can it be?

the camera shoots video in h264 - mpeg-4 format, part 10 "Source" in camera node - "-rtsp_transport tcp -y -i rtsp://user:pswrd@ip:port/tcp/av0_0

изображение

and more: the audio checkbox has also been removed, but in the "home" application, the camera thinks that it is with sound and even two-way audio

photo_2023-09-21_23-59-25

Any more details?

If this is specific to some hardware or specific software version, please explain here.

Any code or functions to add?

No response

GogoVega commented 9 months ago

Hi @daddvok, Are you talking about the Apple TV (1st gen) from 2007?

I encounter this problem (no stream) on my Apple TV 4K (1st gen) which I have resolved by disabling then enabling the camera in the Apple TV's HomeKit settings. So it's a tvOS bug not NRCHKB.

And your question about audio, it's hard to say if it comes from Homebridge or an OS bug (or not yet supported).

daddvok commented 9 months ago

Hi @daddvok, Are you talking about the Apple TV (1st gen) from 2007?

I encounter this problem (no stream) on my Apple TV 4K (1st gen) which I have resolved by disabling then enabling the camera in the Apple TV's HomeKit settings. So it's a tvOS bug not NRCHKB.

And your question about audio, it's hard to say if it comes from Homebridge or an OS bug (or not yet supported).

Of course i’m talking about ATV 4K 1 gen I'll try your method, thank you

GogoVega commented 9 months ago

Hi @daddvok, It seems that the HomeKit Camera no longer works correctly in Bridge type, now you must use Accessory type.

To do this, double click on your camera node, then change Host Type field to Accessory and finally add a new configuration for the Accessory field in which you choose IP Camera as category.

You can find more information about Host Type in our Wiki.

Hope this solves your problem 🤞

daddvok commented 9 months ago

I already use the camera as an "accessory" type

Method disabling then enabling the camera in the Apple TV's HomeKit settings is not working

GogoVega commented 9 months ago

Hi, I solved this problem with the solution described in the previous message but if it doesn't change anything for you, the problem would come from the Apple TV itself.

Could you try disconnecting from your iCloud account in the user settings of your Apple TV then reconnecting: this resets the HomeKit settings of the Apple TV.

daddvok commented 9 months ago

I tried it, it didn't help either, I think there's some problem with video formats, it doesn't work only on apple tv 4k 1gen in two different houses and on two different cameras

Shaquu commented 4 months ago

Any update on the issue?

Shaquu commented 3 weeks ago

Closing as no update from author.