提交 3695f8c7 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Improve README to release a first 0.0.1-alpha.1 version in NPM.

上级 b0baf088
......@@ -5,5 +5,6 @@
/worker/mediasoup-tester.sh
/art/
/TODO
/tester/
/make-trace.sh
/run.js
# mediasoup
Flexible and powerful Node.js library handling a C++ multi-stream media server ready for [WebRTC](http://www.webrtc.org/) and other RTP based technologies.
## IMPORTANT!
* Working on it!
## Features
* Supports *WebRTC* media requirements ([ICE-Lite](http://tools.ietf.org/html/rfc5245), [DTLS-SRTP](http://tools.ietf.org/html/rfc5764), [rtcp-mux](http://tools.ietf.org/html/rfc5761), [bundle](http://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation)) along with classic VoIP technologies ([SDES-SRTP](http://tools.ietf.org/html/rfc4568), plain [RTP/RTCP](http://tools.ietf.org/html/rfc3550)).
* ICE/DTLS/RTP/RTCP over UDP and TCP.
* Multi participant real-time sessions.
* IPv6 ready.
* Signaling agnostic. **mediasoup** does not deal with SIP or other signaling protocols. In the other side, it can deal with *any* signaling protocol.
* SDP unaware. Really, **mediasoup** will not parse a SDP for you.
* Extremely powerful. The media handler subprocess (*mediasoup-worker*) is coded in C++ on top of the awesome [libuv](https://github.com/libuv/libuv) asychronous I/O library. **mediasoup** takes full advantage of your CPU capabilities by launching as many workers as needed.
## Building mediasoup-worker
```bash
$ make submodules
$ make
```
## Author
Iñaki Baz Castillo ([@ibc](https://github.com/ibc/) at Github)
## License
[ISC](./LICENSE)
# mediasoup
Powerful [WebRTC](http://www.webrtc.org/) SFU ("Selective Forwarding Unit") server built on Node and C++.
## IMPORTANT!
* Not yet ready, working on it.
## Usage
```javascript
var mediasoup = require('mediasoup');
// Create a server with 4 worker subprocesses:
var server = mediasoup.Server({ numWorkers: 4 });
// Create a conference room:
var room = server.Room();
// Add a participant into the room:
var peer1 = room.Peer();
// Create a single transport ("bundle") for sending/receiving both audio and video:
peer1.createTransport({ udp: true, tcp: true })
.then((transport) =>
{
transport.iceLocalCandidates.forEach((candidate) =>
{
console.log('local ICE candidate: %o', candidate);
});
});
// TODO: more stuff coming soon
```
## Features
* Not a boring standalone server, but a Node library exposing a pure JavaScript API.
* Supports *WebRTC* media requirements ([ICE-Lite](http://tools.ietf.org/html/rfc5245), [DTLS-SRTP](http://tools.ietf.org/html/rfc5764), [rtcp-mux](http://tools.ietf.org/html/rfc5761), [bundle](http://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation)) along with classic VoIP technologies ([SDES-SRTP](http://tools.ietf.org/html/rfc4568), plain [RTP/RTCP](http://tools.ietf.org/html/rfc3550)).
* ICE/DTLS/RTP/RTCP over UDP and TCP.
* Multi participant real-time sessions.
* IPv6 ready.
* Signaling agnostic. **mediasoup** does not deal with SIP or other signaling protocols. In the other side, it can deal with *any* signaling protocol.
* SDP unaware. Really, **mediasoup** will not parse a SDP for you.
* Extremely powerful. Media handler subprocess (*mediasoup-worker*) is coded in C++ on top of the awesome [libuv](https://github.com/libuv/libuv) asychronous I/O library. **mediasoup** takes full advantage of your CPU capabilities by launching as many workers as needed.
## Author
Iñaki Baz Castillo ([@ibc](https://github.com/ibc/) at Github)
## License
[ISC](./LICENSE)
{
"name": "mediasoup",
"version": "0.0.1",
"description": "Node/C++ multiconference media server ready for WebRTC",
"version": "0.0.1-alpha.1",
"description": "Powerful WebRTC SFU (\"Selective Forwarding Unit\") server built on Node and C++",
"main": "lib/mediasoup.js",
"repository": {
"type": "git",
......@@ -32,6 +32,6 @@
"gulp-shell": "^0.5.1",
"jshint": "^2.8.0",
"jshint-stylish": "^2.0.1",
"tap": "^2.3.3"
"tap": "^4.0.0"
}
}
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论