Module mediasoup::transport[][src]

A transport connects an endpoint with a mediasoup router and enables transmission of media in both directions by means of Producer, Consumer, DataProducer and DataConsumer instances created on it.

mediasoup implements the following transports:

Structs

TransportId

Transport identifier.

Enums

ConsumeDataError

Error that caused Transport::consume_data to fail.

ConsumeError

Error that caused Transport::consume to fail.

ConsumerRtpParametersError

Error caused by bad consumer RTP parameters.

ProduceDataError

Error that caused Transport::produce_data to fail.

ProduceError

Error that caused Transport::produce to fail.

RtpCapabilitiesError

Error caused by invalid RTP capabilities.

RtpParametersError

Error caused by invalid RTP parameters.

RtpParametersMappingError

Error caused by invalid or unsupported RTP parameters given.

TransportTraceEventData

Data contained in transport trace events.

TransportTraceEventType

Valid types for “trace” event.

Traits

Transport

A transport connects an endpoint with a mediasoup router and enables transmission of media in both directions by means of Producer, Consumer, DataProducer and DataConsumer instances created on it.

TransportGeneric

Generic transport trait with methods available on all transports in addition to Transport.