Realtime camera streaming without any delay - WebRTC

You will be able to fix the addon based on Alexxit, can’t install. Thanks.

I managed to get your card working in Chrome on windows but when I try to view it on an android tablet or via the home assistant app on sumsung s8 the image doesn’t render.

If I go back to AlexxIT’s repo then I can view the cameras using the webui.

I like this, the zero lag is a game changer for me. Just need to get it working on my tablets :slight_smile:

Use https for homeassistant and the WebRTC add-on. The WebRTC add-on is served with http. You can setup an nginx reverse proxy to serve it using https.

I am accessing my home assitant instance over HTTPS on port 8123 using DuckDNS addon. Could someone help me how can I setup nginx reverse proxy to be able to access the RTSPWebRTC addon on port 8083 on HTTPS. Or I am also interested about a more simple solution if there is any.
My goal is to use the lovelace card of @mals but it is blocked because it is served over HTTP.

Why no one read docs :slight_smile:
Port 8083 will not helps you. Video data sends via 50000-50009 UDP ports.
Nginx and HTTPS can’t handle this data.
You should port forward this port range on your router.

Thanks for your reply @AlexxIT. Your AddOn works fluently for me. Many thanks again for your efforts.
I have problem with the lovelace card created by @mals. It would be great to use WebRTC stream on a lovelace card, but I cannot, because of the SSL problem, I mentioned above.

Absolute gamechanger!
Tried both lovelace cards. @mals is the one I use. Because it is easier to install. The one from @olijouve is also working, but causes sometimes 100% cpu load on the webrtc instance.

But all of you did a great job. Hopefully this will be integrated to homeassistant natively.

Edit: Vote for my feature request Integrate webrtc-streamer for superb camera performance


Are your lovelace cards showing up on an Android tablet or using the homeassistant app?
I’ve got it working in Chrome on PC but no luck with any mobile device so far.

1 Like

It does on a android tablet. But not on my smartphone.
But I use the card inside a Popup, need to test it as a normal card.

Same here with my wall mounted Android Tablet version 5.0.2 (SDK 21). Lovelace Card is not yet working but I try to load directly http://n.n.n.n:8083. The page is loaded but without a video stream.
Newer devices have no issue.

Hey all. I rewrited addon to custom component. It means now it works not only with, but also with Docker, venv and Windows. And now it has Lovelace card.

You need stop addon, because they can’t work together. And you need clean your browser cache to find new lovelace card in cards list


Wow, big news! Thanks Alexey!

You’re the best! No idea how this works on my Huawei tablet now but it does! Normal WebRTC isn’t able to run on it so IDK what type of wizardry you did, but I’m not complaining.

Thank you so much :+1: . It’s working with my old Android 5 Tablet and Fully Remote Browser.

1 Like

did you mean Fully Kiosk Browser? I tried it on my Amazon Fire tablet but it crashed.

Yes, big news!
Had a lot of trouble to view my UniFi G3 Flex (standalone) camera in Lovelace without high latency and not to drop off from the UI (drop off was the biggest problem). Tried @scstraus solutions I tried all the camera platforms so you don't have to (not Live555Proxy or ONVIF)

But this WebRTC component seems to be very stable!

Yes I mean the Fully Kiosk Browser.

1 Like


any suggestions on what i’m missing here
2021/04/12 13:07:11 Client Not Send ACK (probably the browser is minimized) or tab not active Close client
2021/04/12 13:07:11 WritePacket WebRTC Client Offline

Yes it works now ! great.
But i can’t see the video with the Home Assistant App (android)

Alexey’s custom component is definitely the solution I think a lot of us were hoping for.

Anecdotal, but although the lovelace card is super reliable with 1-2 cards/cameras… the streams become less likely to load the more I duplicate things out (3, 4, etc. cards). I experienced similar issues using Mal’s card.

Wow! What a nice add-on! Finally my Ender3 Cam is on my dashboard with no delay at all.