holtwick / briefing

🔮 Secure direct video group chat
https://brie.fi/ng
GNU Affero General Public License v3.0
1.42k stars 235 forks source link

Server doesn't work when accessed through the internet. #161

Open farhanulju opened 1 month ago

farhanulju commented 1 month ago

Server works fine on localhost. But video/audio doesn't work when connected though 192.168.x.x:8080 or Public IP:[Port]

Website loads fine. Chat works too. Only Video/Audio doesn't work. image

image

Using docker-compose desktop image

Ports are correctly forwarded in Router. It's most likely an issue with the Stun server. When it's on localhost, there is no need for the Stun server to work. Hence the connections work without it. However, when connected through a different NAT, the server stops working, as the Stun server doesn't connect the users properly.

v5star commented 1 month ago

我也遇到这个问题了,只有localhost访问正常,其他都不行,包括手机、电脑,都不行。有解决办法吗? 电脑可以通过浏览器设置:chrome://flags/#unsafely-treat-insecure-origin-as-secure 白名单(把IP或域名添加后重启可以访问),手机就没办法设置。