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.
Using docker-compose desktop
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.
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.
Using docker-compose desktop
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.