I'm aware it's not possible to establish UDP connections with pure javascript. Even the most popular webapi for establishing connections, Websocket, use TCP and it's not possible to change it.
However i've came across WebRTC and it does use UDP underneath.
Is it possible to use the same code WebRTC is using underneath to establish custom UDP connections?