Add on: RTSPtoWeb and RTSPtoWebRTC

Hi, the add-on runs an existing server. I haven’t seen this issue myself before. Can you file a bug report with the upstream GitHub project?

having the same issue…Panic runtime error…

Allen, I noticed that your plugin pulls the 2.2.0 RTSPtoWeb… and there is a 2.3.0… when will yours get updated so it pulls the latest version (which may resolve the panics many of us are seeing).

Filed a bug report… (so far, no response)… but I did notice that you are using a 2.2.0 base… and the latest (as of 6 months ago) is 2.3.0 which does have a few crash fixes… so maybe this might address the crashes we are seeing?

Oh, I thought it was using 2.3.0. I’m kind of acting like a release manager for RTSPtoWeb so i’ve created 2.4.0 with even more fixes from the underlying vdk library and will make a newaddon release with it: Update to RTSPtoWeb 2.4.0 and release 1.3.0 by allenporter · Pull Request #80 · allenporter/stream-addons · GitHub

Based on comments in the github, it seems like RTSPtoWeb should support audio the same as RTSPtoWebRTC (pcm alaw and pcm mulaw).

However, I can only get audio to work via RTSPtoWebRTC addon. The RTSPtoWeb addon seems to be more stable and provide better/smoother video playback. Is there any way to get the audio stream working on that?

Can you file an issue in the RTSPtoWeb project with details, logs, links to the feed, etc for the author to be able to investigate? You can also test using the server directly over the web UI to confirm, if that helps isolate the issue as the add-on itself should just be a pass through. I’m happy to release a new version of the add-on if the server is updated.

How can I view/edit the addon’s config.json file? I’d like to take a look there before going further up the chain.

Edit: I found this addon go2rtc which meets my needs perfectly. Audio works without issue and video is smooth just like with RTSPtoWeb. It’s also very easy to allow remote access, just have to add a config file and open a port on your router. There are some other features there too which are over my head, but I’m interested in the two-way audio feature and will try digging into that soon. Details are in the github linked above.

@Daniel15 did you get it workding with Eufy Cameras?
I still have the issue that clicking on it will break the card.

Hello All,
Not able to get RTSPtoWeb - WebRTC to show live streaming after setting to live.

How many views of these can be active? I just converted all my RTSP streams to camera entity but that makes them show up on the default homepage, and subsequently it has moved 5%cpu to 19%.

I noticed default camera entity are running 2seconds behind the webrtc ones.

Hi folks, not sure if folks noticed this already but you can now configure a stun server in the rtsp_to_webrtc integration configuration options. You can click Configure and set to something like stun.l.google.com:19302 and you should be good to go using the native webrtc player in home assistant.

3 Likes

I have googled for a while now and tried to find it here in the comments but failed, maybe I’m just blind! I don’t have the services webrtc.create_link described here: Cast or share camera stream · AlexxIT/WebRTC Wiki · GitHub

I have the WebRTC working in Lovelace and so on, so no issue there. What I’m I missing?

I run:
Home Assistant 2022.11.5
Supervisor 2022.11.2
Operating System 9.3
Frontend 20221108.0 - latest

This would help us to pick a stun server on our own or is there any other intention here? Thanks for sharing

Hi, that is a different custom component that ships the same underlying binary. Also check out go2rtc which has some other threads on this forum.

1 Like

Hi, can you elaborate on your question? I’m not sure exactly how to answer

Why one would need to define a stun server? I thought there are some available ones via google and everyone is using them. (Sorry for not being unclear)

Thanks will have a look:)

You are saying why not just turn it on by default? The reason why is that people prefer to have a level of control about who they are sending the data. Turning this on by default would upset many folks who don’t want to send their data to Google.

(I am not one of those people, and I maintain multiple Google integrations in home assistant, but I respect the spirit of the project not enforcing such decisions on people)

Does that answer your question?

1 Like

Thanks for explanation :clap: