cyclon.p2p-rtc-comms
A WebRTC implementation of the cyclon.p2p Comms
and Bootstrap
interfaces.
This project implements the cyclon.p2p Comms
and Bootstrap
interfaces using cyclon.p2p-rtc-client. For more information about the Comms
and Bootstrap
interfaces, see cyclon.p2p.
How to use
First install cyclon.p2p-rtc-comms
and cyclon.p2p
as runtime dependencies using npm
npm install cyclon.p2p-rtc-comms --save
npm install cyclon.p2p --save
Create a Comms and Bootstrap instance using the builder provided, e.g.
const commsAndBootstrapBuilder = ;const builder = ; const comms bootstrap = ;const cyclonNode = ;cyclonNodestart;