mediasoup

/ home / Documentation / v2 / mediasoup-client / Installation

Installation

Install mediasoup-client within you client application:

$ npm install mediasoup-client@2 --save

Usage

Depending on how your web application loads libraries (for example, by using a JavaScript module loader) your may need to use one of the following ways to load mediasoup-client:

import * as mediasoupClient from 'mediasoup-client';
const mediasoupClient = require("mediasoup-client");