Module mediasoup::data_producer[][src]

A data producer represents an endpoint capable of injecting data messages into a mediasoup Router.

A data producer can use SCTP (AKA DataChannel) to deliver those messages, or can directly send them from the Rust application if the data producer was created on top of a DirectTransport.

Structs

DataProducerId

Data producer identifier.

DataProducerOptions

Data producer options.

DataProducerStat

RTC statistics of the data producer.

DirectDataProducer

Data producer created on DirectTransport.

NonClosingDataProducer

Same as DataProducer, but will not be closed when dropped.

RegularDataProducer

Data producer created on transport other than DirectTransport.

WeakDataProducer

WeakDataProducer doesn’t own data producer instance on mediasoup-worker and will not prevent one from being destroyed once last instance of regular DataProducer is dropped.

Enums

DataProducer

A data producer represents an endpoint capable of injecting data messages into a mediasoup Router.

DataProducerType

Data consumer type.