@torolocos/signaling-server
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-rc.2 • Public • Published

Signaling Server

This library provides you simple signaling server for @torolocos/react-rtc.

Installation

Yarn

yarn add @torolocos/signaling-server

npm

npm install @torolocos/signaling-server

Usage

Create http or https server and pass it to createSignalingServer function. Let your server listen on the given port.

import { createServer } from 'http';
import { createSignalingServer } from '@torolocos/signaling-server';

const server = createServer();

createSignalingServer(server);

server.listen(8000);

See the signaling app.

Package Sidebar

Install

npm i @torolocos/signaling-server

Weekly Downloads

1

Version

0.1.0-rc.2

License

MIT

Unpacked Size

6.33 kB

Total Files

13

Last publish

Collaborators

  • pchalupa
  • brantalikp