DEV Community

loading...

Discussion on: Video call with WebRTC Angular and ASP.NET Core

Collapse
gerwald profile image
Gerwald

Nice work - thanks!
Does the code also work, when the user is behind a firewall/NAT?

Collapse
sebalr profile image
Sebastian Larrieu Author

Thanks for reading!
Behind a firewall or NAT the connection may not work, I'm not an expert in networks so I can't tell you exactly when and why, we make some test with friends behind a NAT and it work.
If it's not the case, and if you coluld not open ports, you need a TURN server, there are open source alternatives that you could host. When the server is running, you have to set it in the config section of the peer constructor.

Some comments have been hidden by the post's author - find out more