Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rtcmulticonnection-server

muaz-khan1kMIT1.3.3

RTCMultiConnection socket.io server

peer-to-peer, peer2peer, peer, webrtc, rtcmulticonnection, webrtc-library, library, javascript, chrome, firefox, opera, ie, internet-explorer, android, rtcweb, rtcmulticonnection.js, multirtc, webrtc-experiment, javascript-library, muaz, muaz-khan

readme

RTCMultiConnection Socket.io Server

npm downloads

Since version 1.3.1: now rtcmulticonnection-server does not creates any HTTP server.

Now you need to use this: require('rtcmulticonnection-server').addSocket(socket) where socket is your socket.io connection object.

It means that now you can integrate rtcmulticonnection-server inside any socket.io application or expressjsj/angular frameworks.

npm install rtcmulticonnection-server

# either
node server.js --help

# or
require('rtcmulticonnection-server').addSocket(socket);

Installation Guide:

Free socket.io servers

connectin.socketURL = 'https://muazkhan.com:9001/';

config.json

Integrate inside nodejs applications

const ioServer = require('socket.io');
const RTCMultiConnectionServer = require('rtcmulticonnection-server');

ioServer(httpApp).on('connection', function(socket) {
    RTCMultiConnectionServer.addSocket(socket);
});

For more information:

Demos

License

RTCMultiConnection Socket.io Server is released under MIT licence . Copyright (c) Muaz Khan.