-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-Local Usage #41
Comments
Yes, it works with two different computers on different private networks. |
Hey, if I understand correctly, room needs to use libp2p-webrtc-star in order to work. libp2p-webrtc-star uses a rendezvous server in order to let nodes talk to other nodes. |
Although this is a generic aspect of IPFS / libp2p, I think I can clarify a bit: You can use whichever transport you configure your IPFS node with. Currently, for the browser platform, 2 main transports exist: webrtc-star and websocket-star. Both use rendezvous servers. But nothing dictates that this node only has one address. You can bind to as many rendezvous servers as you want, and thus gaining some redundancy. (In the node.js environment you have different transport choices, with different infra-structure requirements). |
Thanks for the clarification @pgte. I would like to ask you a few questions, this probably isn't the best place to do it, but I wouldn't know where else to ask. I am quite new to IPFS, I'm still trying to understand how everything comes together. I am currently working with node, not in the browser. You mentioned that there are different transport choices there, could you point me to resources relative to that? Is there any comprehensive resource where I can read more about how everything works? thanks in advance! |
In the IPFS constructor you can specify which addresses and transports you want in In node it default to this libp2p config: And these addresses: https://github.com/ipfs/js-ipfs/blob/master/src/core/runtime/config-nodejs.js The libp2p packages you can use are listed here: Hope this helps! |
Great, thanks a lot!! |
Hello,
Does pubsub-room or the demo in the video work with two different computers on different private networks or does it just work on a private network or a singular computer?
Thank you
The text was updated successfully, but these errors were encountered: