Module mediasoup::router[][src]

A router enables injection, selection and forwarding of media streams through Transport instances created on it.

Developers may think of a mediasoup router as if it were a “multi-party conference room”, although mediasoup is much more low level than that and doesn’t constrain itself to specific high level use cases (for instance, a “multi-party conference room” could involve various mediasoup routers, even in different physicals hosts).

Structs

PipeDataProducerToRouterPair

Container for pipe data consumer and pipe data producer pair.

PipeProducerToRouterPair

Container for pipe consumer and pipe producer pair.

PipeToRouterOptions

Options used for piping media or data producer to into another router on the same host.

Router

A router enables injection, selection and forwarding of media streams through Transport instances created on it.

RouterId

Router identifier.

RouterOptions

Router options.

Enums

NewRtpObserver

New RTP observer that was just created.

NewTransport

New transport that was just created.

PipeDataProducerToRouterError

Error that caused Router::pipe_data_producer_to_router() to fail.

PipeProducerToRouterError

Error that caused Router::pipe_producer_to_router() to fail.