Mediasoup server
Mediasoup server
Mediasoup as a Service
This library offer access to a Mediasoup instance, to be able to use it remotely in combination of Mediasoup client.
API
Module exports a single function with signature
async function(mediasoup, {closeOwnWorkers, ...options} = {})
:
-
mediasoup
: object with same API than exported by Mediasoup package. -
[options]
: optional options bag-
[announcedIp]
: optional string, IP address to announce to the clients. If not provided, the server will try to guess it. -
[closeOwnWorkers]
: optional boolean, whether to close the workers created by this module when the server is closed. Defaulttrue
. -
[listenIps]
: optional array of strings, IP addresses to listen to. Default[]
, which means no globally provided local listen IPs (only the ones provided to the MediasoupRouter.createWebRtcTransport()
method). -
[sendFullErrors]
: optional boolean, whether to send full error objects to the client. Defaultfalse
.
-