SignalNewConsumerTransportParameters

Parameters required for signaling a new consumer transport. Includes consumer resume functionality for post-consume flow.

Inheritors

Properties

Link copied to clipboard
abstract val consumerResume: suspend (ConsumerResumeOptions) -> Unit

Consumer resume function for updating UI after consume

Link copied to clipboard

Provider function for consumer resume parameters

Link copied to clipboard

List of consumer transport info objects for tracking active consumers

Link copied to clipboard

List of currently consuming transport IDs

Link copied to clipboard
abstract val device: WebRtcDevice?

Mediasoup device instance

Link copied to clipboard
abstract val lockScreen: Boolean

Whether screen is locked

Link copied to clipboard

Precomputed receive RTP capabilities derived from ORTC negotiation. When available we can skip recomputing for each consume call.

Link copied to clipboard
abstract val reorderStreams: suspend (ReorderStreamsOptions) -> Unit

Reorder streams function for updating UI layout

Link copied to clipboard

Router capabilities received from the server (pre-load snapshot)

Link copied to clipboard

RTP capabilities loaded from device

Link copied to clipboard

Updates the consumer transports list with ConsumerTransportInfo objects

Functions

Link copied to clipboard

Returns updated parameters

Link copied to clipboard
abstract fun updateConsumingTransports(transports: List<String>)

Updates the consuming transports list