Expand description
worker-local state for the RTC engine transport layer
this module holds the mutable facts that must stay local to one packet-loop worker:
room and router intent
|
v
worker commands
|
v
PacketLoopState
|
+--> str0m sessions
+--> media route indexes
+--> demux hints
+--> packet-loop schedulesPacketLoopState is the authoritative hot-path state
callers outside the worker observe selected facts through
RtcSnapshotState, bitrate counters and diagnostics instead of mutating
this state directly
Re-exportsยง
pub use crate::engine::media_transport::TransportSessionHealth;
Structsยง
- Packet
Loop ๐State - authoritative mutable state for one RTC packet-loop worker
- Pending
Recv ๐Stream - receive stream identity staged before a producer media addition is answered
- RtcNack
Totals ๐ - RtcSession
State ๐ - worker-local [
str0m::Rtc] state for one transport session - RtcSnapshot
State - read-side RTC transport snapshot shared outside the packet loop
- Rtcp
Ingress ๐Budget - Session
SdpNegotiation ๐State - offer and answer staging state for one worker-local session
- Shared
RtcSocket ๐ - shared UDP socket owned by one RTC worker
Constantsยง
- NANOS_
PER_ ๐SECOND - RTCP_
INGRESS_ ๐BUDGET_ CAPACITY_ BYTES - RTCP_
INGRESS_ ๐BUDGET_ REFILL_ BYTES_ PER_ SECOND
Functionsยง
- muxed_
rtp_ ๐ssrc - next_
live_ ๐deadline - pop_
due_ ๐deadline