rtcmulticonnection-server
v1.3.3
Published
RTCMultiConnection socket.io server
Downloads
1,224
Maintainers
Readme
RTCMultiConnection Socket.io Server
Since version
1.3.1
: nowrtcmulticonnection-server
does not creates any HTTP server.Now you need to use this:
require('rtcmulticonnection-server').addSocket(socket)
wheresocket
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:
- https://github.com/muaz-khan/RTCMultiConnection-Server/wiki
Free socket.io servers
connectin.socketURL = 'https://muazkhan.com:9001/';
config.json
- https://github.com/muaz-khan/RTCMultiConnection-Server/wiki/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:
- https://github.com/muaz-khan/RTCMultiConnection-Server/wiki/Integrate-inside-nodejs-applications
Demos
- https://muazkhan.com:9001/demos/
License
RTCMultiConnection Socket.io Server is released under MIT licence . Copyright (c) Muaz Khan.