Beginner WebGL Question

Hello, I’m very new to game development and looking for a little quidance please. So I’m wanting to make a very simple peer to peer game with WebGL. I understand Netcode does not support WebGL and I can get around this using Websockets or another 3rd party transport, but I notice a lot of people having problems when trying to do this. So I’m wondering if it would just be better to use Mirror or something else instead of Netcode for such a simple peer to peer game? Any advice is much appreciated.

Generally speaking there’s no way for a WebGL app to connect directly to another WebGL app (aka P2P) without routing network packets through a third machine, a server or relay service. I’m guessing that is most of the issues, and every network tech has to work with this constraint. So no, no other network solution will prevent you from not being able to make a P2P networked WebGL game. It always has to be a client-server architecture.

oddly, recently i had some minor success with webgl and netcode but this may have had something to do with relay… as it can use a transport of websockets…