Namespace Pollution Mechanism
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

rtcmulticonnection-client

1.0.5 • Public • Published

RTCMultiConnection client using Reliable Signaler

npm downloads

It is a node.js and socket.io based reliable signaling implementation for RTCMultiConnection.js

# install
npm install rtcmulticonnection-client

# run
node ./node_modules/rtcmulticonnection-client/server.js

Now open localhost port:8080.

How it works?

  1. You can store a room-id on server using createNewRoomOnServer method.
  2. You can get that room-id using getRoomFromServer method.

How to use?

  1. In your Node.js server, invoke require('reliable-signaler') and pass HTTP-Server object.
  2. In your HTML file, link this script: /reliable-signaler/signaler.js
  3. In your <script> tag, invoke initReliableSignaler constructor.
  4. Invoke createNewRoomOnServer method for room-moderator.
  5. Invoke getRoomFromServer method from room-participants (multiple participants).

Source code of this demo is available here:

License

rtcmulticonnection-client is released under MIT licence . Copyright (c) Muaz Khan.

install

npm i rtcmulticonnection-client

Downloadsweekly downloads

1

version

1.0.5

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability