Expand description
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§
DataProducer
identifier.DataProducer
options.- RTC statistics of the data producer.
- Data producer created on
DirectTransport
. - Same as
DataProducer
, but will not be closed when dropped. - Data producer created on transport other than
DirectTransport
. WeakDataProducer
doesn’t own data producer instance on mediasoup-worker and will not prevent one from being destroyed once last instance of regularDataProducer
is dropped.
Enums§
- A data producer represents an endpoint capable of injecting data messages into a mediasoup
Router
. - Data consumer type.