STUN Worker


#1

Hi all,

The ‘WebAssembly on Cloudflare Workers’ blog post invites us to share our ideas for what to build with Workers, specifically mentioning lower level protocols like TCP/UDP. So here’s what popped into my mind.

I’d like to build a Worker that speaks the STUN protocol. This is simple protocol used in the WebRTC stack to determine your public IP address. This matches the short-lived, request-response nature of a Worker but the protocol is based on UDP rather than HTTP. If/when this becomes possible I intend to build a Web Assembly worker based on our work at pions/webrtc.

Let me know if there is any interest in supporting this use-case.