**Status:** Coming soon (check the project [milestones](https://github.com/ibc/mediasoup/milestones)).
* Not a boring standalone server, but a Node.js library exposing a pure JavaScript API.
* "Selective Forwarding Unit" architecture as defined in [draft-ietf-avtcore-rtp-topologies-update](https://tools.ietf.org/html/draft-ietf-avtcore-rtp-topologies-update).
* Modern design: Designed with [ORTC](http://ortc.org) in mind, but also valid for [WebRTC](http://www.webrtc.org).
* ICE/DTLS/RTP/RTCP/DataChannel over UDP and TCP, IPv4 and IPv6.
* Signaling agnostic: **mediasoup** does not deal with SIP or other signaling protocols. In the other hand, it can deal with *any* signaling protocol.
* 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.
## Status
Not entirely ready yet (will be soon). Check the project [milestone](https://github.com/ibc/mediasoup/milestones).
## Installation
```bash
$ npm install mediasoup --save
```
*NOTE*: Currently **mediasoup** just works in POSIX systems (Linux, OSX, etc). In the future it will also run in Windows.
## Usage
*NOTE:* Not updated.
## Design goals
```javascript
* Be a Node.js library: `npm install mediasoup`
varmediasoup=require('mediasoup');
* Be minimalist: just handle the media layer
* Don't deal with network signaling protocols (SIP, XMPP, etc)
* Expose a modern ECMAScript 6 [API](/api/) in sync with [ORTC](http://ortc.org/)
* Work with current WebRTC client implementations
// Create a mediasoup server.
varserver=mediasoup.Server();
// Create a conference room.
## Features
varroom=server.Room();
// Our custom signaling server.
varsignalingServer=[...];
signalingServer.on('invite',(request)=>
{
// Add a participant into the room.
varpeer=room.Peer(request.username);
// Our signaling response.
* Multiple conference rooms with multiple participants
varresponse=
* IPv6 ready
{
* ICE / DTLS / RTP / RTCP / DataChannel over UDP and TCP
candidates:[]
* Extremely powerful (media handler subprocess coded in C++ on top of [libuv](http://libuv.org))
};
* Can handle RTP packets in JavaScript land
// After inspecting `requests.transports` we need to create a single
// transport for sending/receiving both audio and video.