How do I confirm I’m using webRTC? I’m using picture glance and my guess is that it is still using mjpeg, and as entity the frontend_stream_type says HLS, also webRTC does not work on RTSPtoWEB interface.
I have an Annke C800 camera ( POE ) and it’s quite modern.
I’m running HA Supervisor on an Asus Mini PC. I can install the addon and the logs look good (I think) but the integration doesn’t appear either discovered or as a manual add option.
Is this only supported for HA OS?
Here’s my logs:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
[s6-init] ensuring user provided files have correct perms...exited 0.,
[fix-attrs.d] applying ownership & permissions fixes...,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts...,
[cont-init.d] done.,
[services.d] starting services,
[services.d] done.,
[09:25:38] INFO: Starting discovery service,
[09:25:38] INFO: Starting RSTPtoWebRTC,
time="2022-02-15T09:25:38-08:00" level=info msg="Server CORE start" func=main module=main,
time="2022-02-15T09:25:38-08:00" level=info msg="Server RTSP start" call=Start func=RTSPServer module=rtsp_server,
time="2022-02-15T09:25:38-08:00" level=info msg="Server start success a wait signals" func=main module=main,
time="2022-02-15T09:25:38-08:00" level=info msg="Server HTTP start" call=Start func=RTSPServer module=http_server,
[09:25:38] INFO: Successfully send discovery information to Home Assistant.
Without the addon my cameras (TP-Link Tapo C200) were fluid but had a delay of several seconds.
I installed the addon and configured the auto-detected integration. The feeds definitely changed. But something is wrong: through the RTSPtoWEB GUI, the feeds are fluid and with a very small delay. But in the picture-glance card they’re now frozen and are updated only every 10-20 seconds or so.
Hum… I wasn’t using live. camera_view was set to auto. I now changed them to live and things are looking better. Of the 3 cameras, one is now fluid (so the live did make a difference, thanks!) but the other two keep showing these glitchy green images:
I was able to duplicate my lovelace dashboard tab with my camera views. Then on the duplicate dashboard tab I changed all the cameras to auto in each picture glance card. I used the duplicate for remote view with 5 to 10 seconds delay. When I am home I use the original and see less than one second delay.
For me this is acceptable and gives me easy access to both options.
Forgive me if I have used incorrect terms. I am still learning.
In the Eufy mobile app, go to the camera’s settings → general → storage → NAS (RTSP) → follow the instructions to enable the RTSP stream. Just ignore all the text saying that it’s only for NAS storage, and click through all the prompts that say to do something on a NAS. In the end it should give you a URL like rtsp://xxxxx:[email protected]/live0. Play it in VLC to ensure it works (Media → Open Network Stream) then just use that URL and you should be good
Edit: Just tried this one with a Eufy camera and it’s working great too.
Edit 2: I spoke too soon. It works fine initially, but sometimes doesn’t work on refresh, and clicking it to see the large video breaks the card. Maybe it’s something specific to Eufy or how I’ve configured RTSPToWeb. I’ll try to take a closer look over the weekend. On the other hand, AlexxIT’s one works fine except for an issue with CPU usage (CPU usage keeps going up over time).