discovery-network
A peer to peer discovery network in the cloud
Example
See webrtc-stream for more detailed example
var DiscoveryNetwork =Connection = DiscoveryNetworkConnectionRelayStreams = DiscoveryNetworkRelayStreams// Open discovery connectionvar conn =// Identify ourself with a random UUIDconn// Open up a set of relay streams through the connection, on the namespace// When the relay emits a stream handle it{streamstream{console}}
Installation
npm install discovery-network
Contributors
- Raynos