signalhub-swarm

1.1.4 • Public • Published

signalhub-swarm

Fullmesh WebRTC connections built on signalhub and simple-peer.

Some important features we add on top of these libraries:

  • Persistent peer IDs (which can be very useful for an app elsewhere)
  • Fully symmetric API (no deciding which peers are "initiators")
  • Races are resolved automatically
  • PeerConnection restarts
  • Messaging and shared state between peers over signalhub
  • Message authentication (optional)

This library was built for Jam and is designed for the use case of auto-connecting peers who visit the same URL ("room").

Usage

yarn add signalhub-swarm

TODO: API usage

Readme

Keywords

none

Package Sidebar

Install

npm i signalhub-swarm

Weekly Downloads

1

Version

1.1.4

License

MIT

Unpacked Size

20.3 kB

Total Files

5

Last publish

Collaborators

  • mitschabaude