Skip to main content

Module media_transport

Module media_transport 

Source
Expand description

media transport construction and extension boundary

the runtime builds one MediaTransport from owner configuration and process services then room code uses the opaque handle for media operations

code above this module should not branch on RTC worker internals

Structs§

ActiveSpeakerSource
Transport-observed active speaker keyed by the producing media source.
ActiveSpeakerSourceDiagnostic
Read-only explanation for one audio source’s active-speaker policy state.
AppliedProducer
AppliedSessionAnswer
Transport facts materialized while applying one negotiated SDP answer.
MediaTransport
Opaque runtime media transport handle.
MediaTransportConfig
operator-facing RTC transport policy used to build each RTC worker
MediaTransportDeps
Long-lived services injected into media transport construction.
MediaWorkerId
runtime-local identifier for one rtc media worker
ReceiverBandwidthSnapshot
Latest receiver-side bandwidth estimates keyed by transport user.
SessionBitrateLimits
Per-session bandwidth policy applied by RTC workers.
SessionOffer
server-authored SDP offer plus upload metadata for the client
SessionUploadEncoding
one upload encoding offered to the client
SessionUploadSlot
one offered upload media section
SourcePolicySignal
Sender for coalesced room source-policy updates.
SourcePolicyUpdateSubscription
Shared drain for coalesced room source-policy invalidations.
TransportBitrateSnapshot
Point-in-time bitrate measurement aggregated across one or more transport users.
TransportConsumerRoute
consumer-to-source route identity owned by the transport boundary
TransportMediaId
Worker-allocated key for one media realization.
TransportQualitySample
TransportRelayRouteEffect
Relay route mutation applied by the media transport.
TransportSessionKey
Exact identity of one committed transport session.
TransportSourceDiagnosticsSnapshot
Packet activity and active-speaker observations for requested sources.
TransportSourceKey
producer-side source identity owned by the transport boundary
TransportWorkerPressureSnapshot
Transport-observed pressure for one local media worker.

Enums§

ActiveSpeakerActivityReason
Reason attached to one transport-owned active-speaker diagnostic state.
ActiveSpeakerActivityState
Diagnostic state for the transport-owned active-speaker policy.
ConsumerActivity
consumer-side transport activity state
MediaTransportBuildError
invalid construction inputs for the media transport
ProducerActivity
producer-side transport activity state
RelayRouteActivity
relay-route transport activity state
SourcePacketGate
Packet gate applied by transport to one published source.
TransportAdapterError
TransportRelayRouteAction
TransportSessionHealth

Type Aliases§

TransportHealthSnapshot
Latest transport health keyed by the requested sessions.
TransportQualitySnapshot
Latest sampled transport-quality facts keyed by transport user.
TransportResult