[][src]Module mediasoup::consumer

A consumer represents an audio or video source being forwarded from a mediasoup router to an endpoint. It's created on top of a transport that defines how the media packets are carried.

Structs

Consumer

A consumer represents an audio or video source being forwarded from a mediasoup router to an endpoint. It's created on top of a transport that defines how the media packets are carried.

ConsumerId

Consumer identifier.

ConsumerLayers

Spatial/temporal layers of the consumer.

ConsumerOptions

Consumer options.

ConsumerScore

Score of consumer and corresponding producer.

ConsumerStat

RTC statistics of the consumer alone.

WeakConsumer

WeakConsumer doesn't own consumer instance on mediasoup-worker and will not prevent one from being destroyed once last instance of regular Consumer is dropped.

Enums

ConsumerStats

RTC statistics of the consumer, may or may not include producer statistics.

ConsumerTraceEventData

'trace' event data.

ConsumerTraceEventType

Types of consumer trace events.

ConsumerType

Consumer type.