roleoroleo / yi-hack_ha_integration

Home Assistant custom integration for Yi cameras: yi-hack-MStar, yi-hack-Allwinner, yi-hack-Allwinner-v2, yi-hack-v5 and sonoff-hack
GNU General Public License v3.0
205 stars 32 forks source link

Yi Cam performance in HA #74

Closed flaleo closed 1 year ago

flaleo commented 2 years ago

Hi,

i have two yi cameras, one x dome and one home camera, both flashed with yi-hack-Allwinner firmware and integrated into HA with yi-hack_ha_integration. I have already tried onvif and rtsp integrations in HA with the same result.

When I start streaming from HA, the streaming really starts after about 8-9 seconds and for the first 5 seconds the stream is interrupted by buffering. The delay in streaming from live is about 10 seconds.

If, on the other hand, I try to use the onvier app on Android, the streaming starts immediately without buffering or delays.

Why is streaming from HA so bad?

My HA works on Raspberry Pi4 / 4Gb.

roleoroleo commented 2 years ago

Did you try this integration? https://github.com/AlexxIT/WebRTC

flaleo commented 2 years ago

Did you try this integration? https://github.com/AlexxIT/WebRTC

This integration works very well. thank you