-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebRTC external access #192
Comments
Are you sure that port 8555 is open on the Frigate addon? Because, as I know, it is closed by default.
I don't know how the IP detection mechanism works in the Frigate addon. It is better to ask this in the Frigate project. |
Well. Port forward only helps if you have public IP. It not related with symmetrical NAT. If client and server not behind symmetric NAT - you not need any port forward. |
I have a public IP yes and not behind a symmetric NAT. |
they can, if you use version 3.0 of webrtc integration it will auto detect frigate 0.12 and use it as the webrtc provider (since they both use go2rtc internally) |
you should use the browser console to get logs as to why webrtc isn't working |
@Morphy99 you need reinstall WebRTC Camera integration. It can automatically find external go2rtc and link to it. |
Ah ok! I didn't see any mention of this in either docs, apologies if I missed it! I removed the integration, then deleted from HACS, restarted HA core and then downloaded and added again. This time I get a prompt to add the server. It says to add it as http://localhost:1984 however that wouldn't work and neither would 127.0.0.1 so I added the Frigate hostname Wasn't able to load it still so I did a test with my laptop tethered to mobile data and the webrtc card looked as though it was going to play, the camera image is displayed however nothing after that. Then I went back to the Android app and started playing but very jerky and stop start. After a few minutes I went back to it and now it's playing fine! I have no idea why it took so long to play well, almost like it needed warming up! |
That's because port 1984 isn't passed through on the addon by default for frigate |
Sorry yes, of course. I've enabled that port and re-added the integration with localhost. Thanks Nick. |
So no problem? Close issue? |
Yes I'll close it. It's stopped working again now but I think it's something to do with codecs. |
Is there something that would prevent webrtc viewing from a device on a cell data network (4g/5g)? I have a HA instance on another LAN and when my mobile device is connected to another, completely separate LAN, via WiFi, webrtc works. When connected via the cellular network it doesn't. |
I'm having trouble viewing webrtc streams from outside my network. I'm using the Frigate v12 beta 5 addon in HA OS and I've defined my external IP as a candidate. I've also opened port 8555 on my router and forwarded it to the local IP of my HA instance.
I've also tried with local ip:8555, stun:8555 but nothing works.
I get the following on the addon starting:
[WARN] Failed to get IP address from supervisor
On shields up has reported the port as being open:
I did think this was working as I was using the previous version of WebRTC Camera and it didn't report the protocol being used, which turned out to be MSE.
The text was updated successfully, but these errors were encountered: