Do you feel that your camera stream has delays? Then try this method to speed up the live stream of your security camera! Let me know in the comments if this worked for you as well!
Hey. Do you have any HIKVisonm cameras ? i did all steps and i cant see stream in RTSPtoWEB Dashboard (i see stream in VLS for example its mean url is correct) Thx for any help in advance
I tried this and it worked fine locally. However, I am unable to show the live feed on dashboard remotely. I already had a live feed using reolink integration which has been working fine. After installing this it doesnt work when accessing remotely. When I disable the webRTC the live stream on dashboard works. When I am at home wifi the streaming works brilliantly using when webRTC enabled. Any thoughts?
I do not really understand ... as I have my cameras installed under "MJPEG Camera" as well as "Generic Camera". I can find both entities in HA ... now that I cahve configured WebRTC ... do you choose still another entity as camera ? Is there an entity created by WebRTC ??
Like always great videos. Big thumps up. 👍 I recently noticed that the integration is no longer maintained and moved to a new development by same author. RTSPtoWebRTC is now go2rtc. Could you maybe do another revision of this video with the new addon and integration? 😊
After installing and configuring webrtc, all generic cameras stopped working and webrtc UI page is not loading any streams , not even the ones added manually
Nice tutorial, thank you ! My 2 Reolink cameras where already installed and I just add to install the addon, and configure it. When in the 8083 page, if your camera doesn't appear, just wait for a couple of minutes.
Ok I have noob question. I set up everything, works good, but now I want external access. I read there are two options: STUN server or exclude substream from WebRTC. I don't know how to do that. Could someone describe me (step by step)?
Nice for the guide. But i noticed a problem with RTSP WEBRTC when the addon is added to HA it stops the ability to use the media tab in HA to stream cameras to GH displays. ive got about 5 cameras and all stopped showing as cameras
Thank you so much for taking the time to walk us through the process. I'm happy to say that I was able to get my Eufy camera connected with HA because of this video. The only issue is that it seems unreliable. Basically, it works for a few minutes, then freezes. Might just be mine, so I intend to continue to mess with it in order to have it functioning the way it is intended.
Hi, thank you for a perfect video, as usual. Unfortunately, this time I cannot get things working. My camera's are for sure not automatically found by the webRTC browser. When I enter the camera's manually, I only get four black pictures for the four different protocols. So no streams at all. Any idea what could be wrong?
Hello! Thanks for the tutorial. I guess that currently the WebRTC process is a bit different. I installed through hacs and it automatically also installed go2rtc. My question now is: is there a way to pause the streaming somehow? Thanks! I have Ring cameras and using addon ring-mqtt. In theory I have a switch to turn on and off but after the WebRTC Camera it doesn’t allow me to turn it off. It means that the camera is working all the time! Thank you in advance for anybody that can support!
I had this working once before but now when i redo it webrtc is 1000000% the slowest preview and basically doesnt work....mse is the fastest for me...anyone know why?
nice video, 1 thing i don't get. Is there a connection between webRTC and the generic camera? Because you tell to name them the same. But URL's are in both camera's en webRTC. Is this just tyo compare the speed of both or is there some kind of interaction between the 2 parts of software? Thank you in advance!
Is there a way to get it to use the HLS stream in home assistant - I have a browser that says rtsptoweb server failure: unable to start track......says remote doesnt support I assume RTC......but if I go directly to it and choose HLS it can play it
Has anyone setup a reolink nvr using this method...in general it works but it only shows one camera feed from the nvr. I did succeed is setting up each camera separately but figured I'd try the nvr as well.
Once again , great tutorial! This really works a lot faster. Now i'm only trying to find a way to make the video stream cast faster to my google nest hub, when someone rings my reolink doorbell.
@@SmartHomeJunkie No idea what you are using as NVR, but AI detection is really good with frigate and as an NVR it is pretty good. Also since it has build in go2rtc, the web2rtc in this video is redundant. EDIT: I'm running the same setup as you I think -- haOS in a KVM, and Wifi Doorbell, so if you need a working config, don't hesitate to let me know =)
thank you for this tutorial. During the intro you mentioned communication with audio and video from peer-to-peer. I had hopes that you will show a demo with 2-way audio from the dashboard lovelace card to the camera. Does this work, too? And how about 2-way audio with a mobile device and the companion app?
@@SmartHomeJunkie I'd like to know to how it goes, I've done it and it's constantly freezing and lagging, I've also bought the google coral. but I'm running HA in k8s
Thanks for yet another useful video. The amount of work you put into these videos is unbelievable. Much appreciated! Now on the subject: Is this solution also possible for Ring system doorbells?
My camera is integrated from the UniFi integration. I can see the image with Picture Entity but I tried adding WebRTC as you outline in your video. The UniFi protect app makes it easy to find the link BUT it is rtsps not rtsp Is there a way to make this work with a rtsps url? In the RTSPtoWEB browser I do not see the image, just a spinner. Thank you,
I found a fix for this. Update the url by changing rtsps to rtsp, remove the parameter at the end and change the port to 7747. rtsps://192.168.4.1:7441/Oq2ASjzPQkUVqDsa?enableSrtp rtsp://192.168.4.1:7447/Oq2ASjzPQkUVqDsa Drop the second “s” Change port to 7447 remove ?enableSrtp
The delayed cam feed on my displays has been a real frustration for me. Thank you. I've had to set up a 2nd Generic Camera as the Frigate integration doesn't like this but not an issue.
Hi. Thank you for the walk through. However, I am not able to find the URLs for my DAHUA camera. Can anyone please help on that. Camera model is : DH-IPC-HDW3641TMP.
Maybe a dumb question but I recently bought a Reolink Outdoor POE camera and I noticed you provided the URL's to add in Home Assistant. I presume you need to first install them with the Reolink app to set a password? Or can you add them to Home Assistant like you did fresh out of the box without any install of Reolink apps?
Hello, I'm just getting back into this after my HA wiped out my system. The Web2RTC repository is no longer being supported. Is there another way of implementing the Generic webcam into HA? - thanks, your work is fantastic and really helpful!
Hi, at the very end (minute 5:49 of the video) , I get this error: "Failed to start WebRTC stream: RTSPtoWeb server failure: stream channel codec not ready, possible stream offline: Internal Server Error. " Can I do something to fix it?
Please help me fix the error "This entity does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more details" when adding a H.265 standard Yoosee brand camera to the home assistant. Thank you very much!
Thank you so much. Finally my camera works with a minimum of delay. I am very happy now. Please, how can i activate the audio of the camera, now? I use a Tapo C110 Thank you
Hi Ed, Noob question, sorry. Should this work with Reolink Argus PT 2K? I can't add that via the standard Reolink integration so hoped this would be an alternative as a generic camera, but at every attempt i get the following error @Unable to load valid image from still image URL (e.g. invalid host, URL or authentication failure). Review log for more info.
Well, it seems to me that the still url cannot be reached. You can fake this by pointing to a local image that you put in your www folder on your HA server. Be aware that you need to use /local for images that are stored in /www
@@gsmithdsl I have a couple of videos that explain how to store an image locally. I explain in this video how to store an image on your local server. How to SHOW YOUR CAMERA REMOTELY on Your Phone When The Doorbell Rings! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6jkzy2Cv9Pk.html
I've inherited a ptz poe hikvision ip camera, and an 8 port poe switch. I wired this up to my router and went to check the network online and... nothing. The device isn't there. I'm having trouble finding someone with the same issue as most videos just show the connection happening, but not how or how to troubleshoot if it doesn't connect. Any ideas on what I'm doing wrong. (I have no previous experience with ip cameras, so any advice is appreciated).
What did you find was the main advantages of using Generic Camera over other camera integrations? Just curious as I use Synolgy and like the way it picks up the cameras, but I don't like the delay
I tried to get this too work for a few days now but i cant get it to work. I dont have still image url so i leave this blank as seen on a HA page. Nothing shows up on webrtsp. My onvif and other stuff works fine. I cant figure out what is going wrong i get 6 video stream that is not loading if i press ALL
Another great video thank you. Is it possible to use Reolink Cameras via a Reolink NVR? RTSP and ONVIF are open from network settings on the NVR but can't seem to get any cameras to display in RTSPtoWeb.
If your onvif camera can output RTSP streams, than yes. All you need to use webrtc is a working RTSP feed from camera. Google your model and "RTSP", find the RTSP url for your camera and try to follow the tutorial
Hi, Nice and very interesting, but as far as I know this protocol isn't particularly secure. Especially important for the people who use a VPN connection for its high security, because by using WebRTC there is a possibility of IP leaks! There are also ways to protect it, but I don't know if this add-on includes this protection!?
I tried all the tutorials on the web and for some reason webrtc is not working with my hikvision DVR or NVR. The generic RTSP camera is working fine for all the channels, once I install webrtc, everything stops working and the streams ( both WEBRTC or generic camera) are stuck on loading and nothing happens. I have 2024.4.4 core, 2024.04.0 supervisor, 12.2 OS. Any Ideas?
Hi Smart Home Junkie. Thanks for the video. Very well explained as asusal. I just updated HA to the newest version and WebRTC stopped working. I re-installed the add-on and the integration. When I now try to open the WebUI, it says, that I need to add a stream first - but the stream needs to be added on the WebUI. Any hints how I can bypass this? Thanks for your feedbackund Regards, Aleardo
Hi Aleardo, It's the first time that I hear from this issue. I will try to reproduce it myself. Not sure what's going on. Maybe rebooting the host (so not HA only) will fix this?
@@SmartHomeJunkie Restarting the Hub did not solve it. I de-installed the add-on, deleted the integration and rebootet the whole system. Then I installed all again and now all is fine again. Thanks!
Thanks for an awesome tutorial! Got all working except the last step. Camera (stream) are showing fine in the RTSPtoWEB dashboard in all four protocols. But when added to HA dashboard it only shows a snapshot image and doesn't update :( Any idea where I messed up?
Thank you so much for another great video. My Eufy Outdoor Cam Pro cameras don't have a still image URL, but just the RTSP one. What can I do to generate a snapshot from the last stream? Any help is welcome, thank you in advance.
Thanks. I did not test it, but maybe you can point to a "fake" snapshot that you store in the www folder of Home Assistant? Beware that www/snapshot.jpg should be called using /local/snapshot.jpg. Again, I didn't test it and the results may vary.
I'm a dumb. I was driving myself crazy trying to add another camera after I had added one days before. I was missing the "This image looks good" box and just hitting submit. I know it's all on me, but so many other videos I watched just glossed over the add your camera part. Your thorough video showed me how I was being an idiot. Thank you for this!
Wow, wat een verschil! Echt geweldig! Gebruik de camera's om een ijsvogelbroedsel in de tuin te volgen en de vertraging en 3 fps waren erg irrtant, dit is top!
This is amazing. After I got webrtc up and running it found all my reolink cameras already integrated in home assistant. All my cameras load so much faster now.
Thanks for the guide, added my reolink doorbell camera, however there is no audio. Is there a way to fix that? I ran all 4 different version of the stream but they didn't have audio.
Hi, another great one, thanks. I had trouble adding my tapo and unifi cameras to the generic camera integration so I wentold school camerea setup via yaml and it's working great so far. The caviat here is that we should expect a bit of a load on memory depending on how many cameras you have in your system. I guess there is no free lunch right? anyway, the fast load of the video stream worth the resources in my opnion.
@@SmartHomeJunkie How do you use the HD stream with WebRTC and the low res stream without WebRTC? I'm only seeing one option for each stream with my Reolink cameras.
If you have camera's installed, connected to a DVR, what do you do? Dou you integrate the DVR, or try to connect to the sub-stream of each individual camera?
Another great video, quick question if I stop the webrtc add on, will that revert the cameras back to non webrtc protocol as I want external access whilst i look at stun server etc.
Hi Ed, I just watched this video. I am looking to install a PTZ TP-link tapo camera in my mother's house, she is old and frail and I want to monitor her. Is there a way, that you know of for adding a remote camera into my Home Assistant? I note you only talk about local cameras. Thanks very much!
Should the stream for best quality for reolink be h265Preview_01_main instead of h264Preview_01_sub? Any possibility to create a future video on how to expose webrtc for those of us exposing HA using eg duckdns?
The main stream uses more bandwidth, but yes, it's higher quality. I added some suggestions to show the stream remotely in the description of the video.
Thanks for another good video. My brother asked me for help to get 2 cameras for outdoor use on his house. One requirement he have is no monthly payments (subscrition fees). He want to buy his hardware and thats it. I have strongly recommended Home Assistant and do the same thing you showed in the video. He wishes for is that the cameras runs on batteries and using WIFI with RTSP. But i cant find any cameras with those specs. What i have understood is that RTSP using more power and drain the battery pretty fast. I told my brother that, but he still want me to check if i can find any cameras. Do you know any cameras? I am going to talk to him again about this and i just realized that he has a Attic Space where he can pull shielded network cables (cat6 or cat6e) to the cameras. Hopefully he dont need to "upgrade" the cables for many many years.
Very late reply, but you are right - RTSP is very rarely supported on battery-powered cameras because of the power requirements. PoE cameras don't have this limitation
hello. i must be doing something wrong. i followed your video and after i added my camera and clicked "all" the 4 videos came up and HLS and MSE were the first to come up and HSLL and WEBRTC just gave me a spinning circle. i clicked away and came back to it and HLS, MSE, and HSLL all loaded and WEBRTC is still just a spinning circle
With this plugin, the camera time synchronization is very good, but when I connect from outside the home over the mobile network, I cannot see the video stream. I need to be on the internal network. What should I do so that I can see it when I connect remotely?
@@SmartHomeJunkie WAN connection would require public IP of camera. It would not be secure. Instead you can make VPN. VPN can be done by some service or you need at least one public IP address.
@@martinkormunda2264 I agree that VPN is secure. See my added NOTE in the description how to set it up. You don't need to open extra ports. It runs through Home Assistant.
@Smart Home Junkie and @Robin Gerritsen I read that it could be accomplished by using Go2RTC, but I couldn't get it to work outside my own network. It did work though via the Go2RTC module in Home Assistant (I connect to HASS via Nabu Casa)
@@SmartHomeJunkie indeed, the HACS WebRTC Camera (by AlexxIT) works also better for me. I tried your advised RTSPToWebRTC HA Addon also, but my CPU load (ESXi VM on industrial intel NUC) went from 22% to 48% continuously. With the HACS WebRTC (no HA addon, but a custom card: custom:webrtc-camera) it stays low at 22%, so i removed the HA addon RTSPToWebRTC again. WebRTC in not the fastest in my custom card. When I used the webrtc-camera on my Reolink E1 Zoom substream (like your CAM URL's), it automatically takes MSE as preferred protocol (is faster than WebRTC on the RTSPToWebRTC HA Addon), for my Big HikVision Camera sub stream, it takes RTC automatically as protocol. It seems the HACS WebRTC is more recent than RTSPToWebRTC. The WebRTC Hacs notes in its documentation: "Starting with version 3 the streaming server has been changed from RTSPtoWebRTC to go2rtc" go2rtc seems much faster as streaming server with less CPU resources. You also don't need the whole RTSPtoWebRTC webserver on port 8083. Just add the rtsp url in the custom card lovelace yaml settings.
@@bertdebondt Thanks for this. Is it also possible to use this card remotely? And can you exclude streams from webRTC to make sure they work remotely as well?
@@SmartHomeJunkie yes this card also works remotely. (I use the Cloudflare addon for remote tunnel connection). you can manually select the protocol mode: mode: webrtc,mse,mp4,mjpeg if you leave out the mode in yaml, it autoselects the protocol. For example I'm on a remote location (on windows PC) now and my HikVision switches from RTC to MSE. If I check the same camera on my Iphone 6S with the HA APP it autoselects MP4 and after a few seconds it selects RTC as protocol (since iphone's can't use MSE)
Do you know how to get the card to be full screen on a single dashboard ? I set the view type of the view in the dashboard to "panel" and this works... but after some seconds (the moment it goes in live view) it reduces the picture (not as sharp also).
Thank you very much for the tutorial, Ed. Quick question, before I decided whether I would have a use case for this. I am using a generic camera stream for my baby monitor, which does not have audio. Does it have audio when configured as WebRTC? Thank you
Really good explanation as always, but unfortunately it doesn't work for me. I don't know what happens. I followed you instructions and the Generic Camera is running fine. When I install RTSPToWebRTS the problems start. In the dashboard I can add the camera manually, but I also can wait a little bit and she will be shown. So what do I see? For all of my cameras I see an icon (2 times 5 cameras from the Unifi Protect integration high and medium quality) and the generic camera I configured manually. None of these icons has a picture, just an icon. If I click any camera, the page for the camera opens up, as shown by you I got 4 streams. None of these streams load, all hang up in the loading symbol and no picture is shown. You can only see a black background with the loading symbol. That happens for all cameras. That's not all! If I open the generic camera entity, the stream fails to load! If I go onto the dashboard with all of my cameras those cameras with the same stream quality (my Unifi Protect is configured to serve the high and the medium quality stream, the low quality stream is turned off) will also fail to load the stream. Those with different stream quality will still be available. In RTSPToWebRTC no camera stream is shown, it doesn't matter which quality. Uninstalling the integration solves the problem. So I activated the debug function and it seems the integration does some strange things as I have a panic error in the log, the the memory address is invalid..... I hoped, that this system would show faster the stream. The delay of the stream for all cameras is only about 4-5 seconds, but the system needs about 20-30 seconds to get to that state. First the stream is shown, than I have a loading pause and after that the stream runs to fast, until it catches up with the 4-5 second delay.
Hi, Thank you for your videos, they have helped so much in the past, but for some reason I am getting an error "Unable to load valid image from still image URL (e.g. invalid host, URL or authentication failure)." do you have any ideas as to why?