Realtime camera streaming without any delay - WebRTC

Only on Apple, only in Safari, only if you enable this option in developer menu…

2 Likes

There is an option that could create a little buffer in the imanges stream ?
I’m looking for the way to stop the continuos loading process from an external connection.

Thanks a lot

Thanks. I can confirm the following devices are working with your integration:

  • Hikvision DS-2CD2432F-IW: works perfect

  • Hikvision DS-2CD2442FWD-IW: works half of the time on the main stream. Works perfect using the low quality substream

  • Hikvision DS-2CD2455FWD-IW: Did not test the main stream using H264 (I have the main stream configured on H265+). Works perfect using the low quality substream.

Very grateful for your efforts. All my camera’s support 2-way audio so I obviously support suggestions others have made to make that work. But I assume there are a lot of challenges with making that work.

I will have to remove this component. :frowning:
I have to restart Home Assistant core 2 or 3 times a day because process rtsp2webrtc_v4_amd64 takes 95% of my CPU.

Same, i had to delete my lovelace card with the cameras on it because it was using so much cpu, even when not active that i couldnt even move to other tabs.

8 1080p streams for a data point

Same here. Going back to default RTSP stream integration of HA

I have 2 Rpi’s a 3b and a 4b both Rpi’s give a CPU load of around +95% with 5 camera’s. Is there a way to fix this issue? else this webrtc component is a bit useless for a multi camera setup.

Try to find what camera burn CPU

I don’t know exactly what going on.

I don’t ever have any issue when using your lovelace card when I’m at home on my local network.
However, it’s almost 100% when I’m trying to use it remotely. I use DuckDNS addon to provide a xxxxxx.duckdns.org address.

Check status icon when you using component remotely

I have the “stream is played with MSE” icon. I usually can see some images, always with the buffering status, but the images have the correct timestamp (they are not ghost images from few hours ago). And then connection lost and webrtc process start to increase slowly up to 100% CPU whatever I do (refresh page, refresh lovelace, logout, close my web browser,…).
The only thing that brings it down is a restart of HA Core.

Maybe constant reconnections cause CPU growth

Yeah, probably. :confused:

After having experimented with this WebRTC tool since December last year, I have recently made the jump and am now using this as my main solution.
However I have data limits on my mobile connection and I now hit that limit in record time.
My mobile phone claims for example 37GB used by Home Assistant over Wifi and 1.4GB over mobile data.
I seem to understand from previous posts that the stream can remain active in the background.
Any tips on what the things are I can do to limit data usage?

Many thanks!

I have no issues on my MacBook using Firefox. Video is streamed with almost no issues, just some small and random video lags. For me, it is enough for the purpose of opening/closing my outer gate for Amazon deliveries while monitoring in real time. However, the Home Assistant App on iOS and iPad does not display the video stream. I also tried in Safari and Firefox browsers on the iPhone. After some time with a blank frame, a “Restart Connection” message is displayed in the video player. It happens the same with the bunny demo stream. Has anyone experienced this issue? Is there any iOS limitation? Any way to fix it?

Hi, Has anyone managed to cast the video from the RTSP via this component to a smart TV ?
I have seen that should be possible, but a real-life example will simplify things very much.

Can somebody post an example please?
Thank you
Bogdan

I have problems with the card on my tablet. On all of my other devices it is working very well, including connections over nabucasa.

But the tablet often isn’t connecting or stops the stream after one or two seconds. I know that I need a very powerful device for that. But is there any possibility to check where the problems are coming from? Eg. low memory on the device, maybe a bad network connection etc. .

The tablet is a wall-mounted Samsung Galaxy Tab A7 (SM-T500NZAAEUB) with a Qualcomm Snapdragon 662.

Good Evening,
I have a problem with the HA card: with the last version i’m not able to view camera in full screen…
i push the little square in the down-left corner but nothing happen.

Thanks a lot.

TypeError: this.requestFullScreen is not a function

This is the error that i see in the Log page !

@AlexxIT have you any ideas about it ?

Known issue on github. Have not check it yet.

1 Like