WebRTC Medooze Media Server for Node.js
This media server will allow you to receive and send media streams from remote WebRTC peers and manage how you want to route them.
Supported systems:
- Linux
- Mac Os X
- Raspberry Pi
Install
Just add the Medooze media server as a dependency to your node proyect:
npm i --save medooze-media-server
Distribution
If you don't want to compile the native code each time you use the media server, you could precompile Medooze Media server and generate a binary package for your platform. On the Medooze media server directory just do:
git submodule update --init --recursive
npm i
npm run-script dist
It will generate the binary package in dist/medooze-media-server-x.y.x.tgz
.
To use it on your project just install it instead of the npm repository dependency:
npm i --save medooze-media-server-x.y.x.tgz
Usage
const MediaServer = require('medooze-media-server');
API Documention
You can check the full object documentation in markdown or html.
Support
To discuss issues related to this project or ask for help please join the google community group.
Demo application
You can check a demo application here
Functionality
We intend to implement support the following features:
- MP4 multitrack recording support for all WebRTC codecs: H264,VP8,VP9, OPUS and PCMU/A.
- VP9 SVC layer selection
- Simulcast with temporal layer selection
- RTP transport wide congestion control
- Sender side BitRate estimation
- Flex FEC draft 3
- NACK and RTX support
- [RTCP reduced size] (https://tools.ietf.org/html/rfc5506)
- Bundle
- ICE lite
- [Frame Marking] (https://tools.ietf.org/html/draft-ietf-avtext-framemarking-04)
- [PERC double encryption] (https://tools.ietf.org/html/draft-ietf-perc-double-03)
- Plain RTP broadcasting/streaming
- Datachannels
Media Server Client
You can use the Media Server Client lib for easy sync between any browser and the media server. If you do not want to depend on an external library or specifc signaling you can setup everything manually.
Tracing
Medooze is instrumented with Perfetto track events. For information about capturing and interpreting traces, see Tracing.
Author
Sergio Garcia Murillo @ Medooze
Contributing
To get started, Sign the Contributor License Agreement.
License
MIT