mediasoup

/ home / Documentation / v2 / mediasoup / Installation

Installation

Install the mediasoup Node.js module via NPM within your Node.js application:

$ npm install mediasoup@2 --save

Requirements

In order to build the C/C++ component the following packages and libraries must be available in the target host:

  • In Debian and Ubuntu install the build-essential DEB package. It includes both make and gcc/g++.
  • In YUM based Linux (Red Hat, CentOS) use yum groupinstall "Development Tools".

Usage

Within your Node.js application:

const mediasoup = require("mediasoup");