Tring to setup rtmp from frigate(running on container and also go2rtc on same machine).
port 1935 is open in container .
the machine address is 192.168.1.113
So I am getting an error in the add-on log that I canāt seem to figure out. The WebRTC component worked fine with my cameras, but I wanted to try go2rtc instead.
ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:51 > error="x509: certificate is valid for 127.0.0.1, fe80::1, not 10.10.1.10"
*10.10.1.10 is my Unifi NVR where the RTSP streams are generated.
Hello, what to do if I donāt want to view all my cameras using webrtc? I also want to view regular rtsp streams. Now Rtsptowebrtc is converting all my cameras to webrtc.
@jussbba If you donāt want to convert all your streams, you should simply be able to NOT use RTSPtoWebRTC. Instead create a config for go2rtc for whatever streams you want webrtc for and then create generic cameras in home assistant pointing to those go2rtc rtsp urls. Then you can have both.
@calisro Thanks. I added the rtsp url to go2rtc.yaml. I can see the stream link in the go2rtc web gui but how can I add the webrtc stream to home assistant as generic camera?
Got a question about the ?video addition to a RTSP stream. If I interpreter correctly it searches for the first stream without audio, but if it doesnāt find a stream without audio, will it just push the stream with audio?
This is at least what Iām seeing, it doesnāt extract the audio, or am I doing something wrong?
Add any supported stream source as Generic Camera and view stream with built-in Stream integration. Technology HLS, supported codecs: H264, poor latency.
It will be webrtc in a picture glance or frigate card. I prefer the frigate card even if youāre not using the frigate backend. Add the rtsptowebrtc integration.
Hey Rob, thanks for this. Iām actually more leery of changing AD410 settings via ASP than direct API calls due to ASPās propensity for changing additional settings unexpectedly. I did confirm that using ASP to change the Audio compression from AAC to G.711U worked just fine. However, it did ADD some additional VIDEO settings, but I havenāt determined yet if it affected quality.
Amcrestās API guide does actually list all the potential audio modes. But to determine what each device actually is capable of run: <ip_addr>/cgi-bin/encode.cgi?action=getConfigCaps This will show ALL the device capabilities, including this result for the AD410:
caps[0].MainFormat[0].Audio.CompressionTypes=PCM, G.711A, G.711Mu, AAC
(G.711U when selected in ASP, saves the value as G.711Mu in the firmware)
Help needed, I think I have everything working more or less. If I use the web browser just fine to stream everything I even got the webRTC stream as an popup on my Google Tv when someone press the doorbell.
Itās just one issue I have and if I use HA Companion App on my iPhone and not connected to my local network I cannot see the stream.
If Iām connected to my local network I can see the stream via HA Companion App on my iPhone, low latency.
Not connected to local network and goes into the go2rtc web interface, select a camera then press stream I can see the stream fine.
The URL of your Go2RTC page points to 192.168.1.138, your RTSPtoWebRTC integration to 127.0.0.1, does this mean your Go2RTC runs as an addon?
And by āI can see themā do you mean if you click āstreamā you get presented the camera, or do you mean you can see them in this overview?
And what do you mean by no entries showed up? Did you add the cameraās as generic cameraās? Because the /live/front_door I donāt get if your cameraās are called tetto / palestra / vtodahuaā¦
@mhoogenbosch I use Cloudflare so no need to open any ports, like I said I can see the stream when Iām no connected via LAN if I go into the web interface of go2rtc and webRTCweb so should not be any issues with ports. But I have also tried to open that port just to rule out is itās that issue, no luck.
I am not known with Cloudflare so Iām afraid I cannot help you. It sure sounds like a port conflict somewhere. Just opening the port doesnāt cut it; it should be forwarded. But again; I donāt know what cloudflare does for you. Good luck finding the solution.
But then itās strange that I can see the stream in the web interface of both go2rtc and webRTCweb. Not sure if one can change the port of go2rtc? But I feel like I cannot be the only one with this issue, multiple people use cloudflareā¦