[][src]Module mediasoup::worker

A worker represents a mediasoup C++ subprocess that runs on a single CPU core and handles Router instances.

Structs

Worker

A worker represents a mediasoup C++ subprocess that runs on a single CPU core and handles Router instances.

WorkerDtlsFiles

DTLS certificate and private key.

WorkerResourceUsage

CPU, memory and other resource usage information from mediasoup-worker subprocess.

WorkerSettings

Settings for worker to be created with.

WorkerUpdateSettings

Worker settings that can be updated in runtime.

Enums

CreateRouterError

Error that caused Worker::create_router to fail.

RequestError

Error that caused request to mediasoup-worker subprocess to fail.

WorkerLogLevel

Logging level for logs generated by the media worker subprocesses (check the Debugging documentation on TypeScript implementation and generic Rust-specific docs).

WorkerLogTag

Log tags for debugging. Check the meaning of each available tag in the Debugging documentation.