RTCMultiConnection-Server
所属分类:网络编程
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2022-03-18 06:44:46
上 传 者:
sh-1993
说明: RTCMultiConnection socket.io服务器(npm安装RTCMultiConnection服务器),
(RTCMultiConnection socket.io server (npm install rtcmulticonnection-server),)
文件列表:
.npmignore (181, 2022-03-18)
Dockerfile (206, 2022-03-18)
LICENSE (1066, 2022-03-18)
bower.json (1067, 2022-03-18)
config.json (492, 2022-03-18)
fake-keys/ (0, 2022-03-18)
fake-keys/certificate.pem (944, 2022-03-18)
fake-keys/privatekey.pem (887, 2022-03-18)
logs.json (2, 2022-03-18)
node_scripts/ (0, 2022-03-18)
node_scripts/BASH_COLORS_HELPER.js (1586, 2022-03-18)
node_scripts/CONST_STRINGS.js (674, 2022-03-18)
node_scripts/Scalable-Broadcast.js (10364, 2022-03-18)
node_scripts/Signaling-Server.js (39282, 2022-03-18)
node_scripts/after-http-listen.js (1950, 2022-03-18)
node_scripts/before-http-listen.js (3404, 2022-03-18)
node_scripts/get-bash-parameters.js (7633, 2022-03-18)
node_scripts/get-values-from-config-json.js (3096, 2022-03-18)
node_scripts/getJsonFile.js (320, 2022-03-18)
node_scripts/index.js (660, 2022-03-18)
node_scripts/pushLogs.js (2125, 2022-03-18)
node_scripts/resolveURL.js (336, 2022-03-18)
node_scripts/verify-admin.js (412, 2022-03-18)
package.json (1193, 2022-03-18)
server.js (3436, 2022-03-18)
## RTCMultiConnection Socket.io Server
[![npm](https://img.shields.io/npm/v/rtcmulticonnection-server.svg)](https://npmjs.org/package/rtcmulticonnection-server) [![downloads](https://img.shields.io/npm/dm/rtcmulticonnection-server.svg)](https://npmjs.org/package/rtcmulticonnection-server)
> 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.
```sh
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
```javascript
connectin.socketURL = 'https://muazkhan.com:9001/';
```
## `config.json`
* https://github.com/muaz-khan/RTCMultiConnection-Server/wiki/config.json
## Integrate inside nodejs applications
```javascript
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](https://github.com/muaz-khan/RTCMultiConnection-Server) is released under [MIT licence](https://github.com/muaz-khan/RTCMultiConnection/blob/master/LICENSE.md) . Copyright (c) [Muaz Khan](https://MuazKhan.com/).
近期下载者:
相关文件:
收藏者: