Remix.run Logo
opem 4 hours ago

So iroh is basically WebRTC, except it works in and outside of a browser. Relays seems quite similar to TURN/STUN servers except they also handle fallback traffic much like TOR guard/relay nodes

Sean-Der 4 hours ago | parent [-]

Does WebRTC not work inside/outside of the browser anywhere?

nunobrito 3 hours ago | parent [-]

It works outside the browser too, I've been using it that way.

opem 3 hours ago | parent [-]

Yes it does! I was trying to draw an analogy there, I think it would be better to state as - iroh is similar to WebRTC + PeerJS[1] which only works on browsers, generally[2].

[1]: PeerJS(https://peerjs.com/) is a library to use WebRTC w/o any boilerplate code. [2]: WebRTC functionality can be enabled in non-browser envs like Node.js by using third-party native addons (like node-webrtc) that provide bindings to the underlying C++ WebRTC library.