Add on: RTSPtoWeb and RTSPtoWebRTC

My impression was that go2rtc can also work with the native card and can even use rtsp_to_webrtc integration in core?

But no, I don’t use any of them anymore.

Thanks for putting me on the right path!

It turns out I wasn’t comparing apples to apples. I now used the WebRTC custom_component (that comes with go2rtc) in combination with the RTSPtoWebRTC integration and it seems to work just as well in terms of latency as before.

I was comparing the Picture Entity Card to the WebRTC custom card before.

Will try this out for a couple of days.

Hi everyone,
Need some help please.
I’m trying to use this plugin to create a service call, so when an image on my HA dashboard is clicked, it loads a WebRTC stream of that room. Using the generic camera integration (via RTSP) is super laggy and slow.

However, it seems there is no service call for WebRTC to stream on device, just a cast:

I should stress that Im not the most proficient HA user, so apologies if this is an easy one!

Can anyone help me figure out the best way to approach this please?

Thanks!

Try like this:
type: custom:webrtc-camera
url: rtsp://[email protected]:554/ch0_0.264
muted: true

Hi @andiukas thanks for the tip.

I’m clearly not getting it though, which format and where would i enter the config?
Here’s how I’m trying to use it, so that when my current camera still image is clicked it loads the RTC stream:


I know I need to correct the RTSP URL, but it looks like the custom:webrtc-camera command is a card type.
I’m not sure how to launch a card from a click in my current still image?

Thanks

show_state: true
show_name: true
camera_view: auto
type: picture-entity
entity: switch.miegamasis
image: https://demo.home-assistant.io/stub_config/bedroom.png
tap_action:
 action: fire-dom-event
 browser_mod:
   service: browser_mod.popup
   data:
     content:
      type: custom:webrtc-camera
      url: rtsp://[email protected]:554/ch0_0.264
      muted: true  
1 Like

This works thank you!

Only problem is that once clicked, on iOS, you can’t escape from the camera view so have to quite HA each time. The buttons (such as mute, etc) also dont work on iOS which isnt a huge deal, but any way to fix the escape from view part?

someone has noticed some speed degradation after recent updates?
2024.8.2
OVA 13.1