peer-data-server

1.0.10 • Public • Published

PeerDataServer

Build Status npm version license Beerpay Beerpay

PeerDataServer is messaging service on Node using socket.io. This is ready to use example signaling server for PeerData library.

The sender and receiver RTCPeerConnections run in web pages on different devices, and we need a way for them to communicate metadata. For this, we use a signaling server: a server that can pass messages between WebRTC clients (peers).

In order to set up and maintain a WebRTC call, WebRTC clients (peers) need to exchange metadata:

  • Candidate (network) information.
  • Offer and answer messages providing information about media.

In other words, an exchange of metadata is required before peer-to-peer streaming of audio, video, or data can take place. This process is called signaling.

Installation

$ npm install peer-data-server

Documentation

  1. Chat Example

ABOUT

Contributors:

Want to contribute ? Feel free to send pull requests!

Have problems, bugs, feature ideas? We are using the github issue tracker to manage them.

License

The code is available under the MIT license.

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i peer-data-server

    Weekly Downloads

    12

    Version

    1.0.10

    License

    MIT

    Unpacked Size

    14.8 kB

    Total Files

    10

    Last publish

    Collaborators

    • vardius