mediasoup

/ home / Documentation / mediasoup-client / Installation

Installation

mediasoup-client can be installed in different ways:

$ npm install mediasoup-client --save
$ bower install mediasoup-client
<script src="/js/mediasoup-client.js"></script>

Requirements

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 mediasoupClient from "mediasoup-client";
const mediasoupClient = require("mediasoup-client");
window.mediasoupClient