Expand description
Wires process services and drains them during shutdown.
Request handlers receive RuntimeState without boot or teardown control.
ModulesΒ§
- auth π
- diagnostics π
- Operator diagnostics assembled from endpoint-specific room captures and RTC observations.
- http_
server π - This module is the synchronous sibling of
websocket_server: it exposes the serverβs endpoints, translates authenticated HTTP requests into application room intents, and then renders the resulting public HTTP contract. - media_
transport π - media transport construction and extension boundary
- metrics π
- process-local metric catalog and typed recorders
- options π
- packet_
sinks π - room packet-sink registry shared by transport workers
- prometheus π
- Prometheus text rendering for runtime metrics.
- request_
origin π - room π
- room manager, room runtime and user-session integration types
- websocket_
server π
StructsΒ§
- Connection
Id π - unique identifier for a userβs transport connection within the server process
- Media
Transport π - Opaque runtime media transport handle.
- Media
Transport πConfig - operator-facing RTC transport policy used to build each RTC worker
- Media
Transport πDeps - Long-lived services injected into media transport construction.
- Room
Packet πSink Registry - Runtime
- Process services and lifecycle configuration.
- Runtime
Metrics π - Runtime
Services π - Runtime
State π - Cloneable request dependencies without process lifecycle control.
- Runtime
Tasks π - Cancels process work when the server future is dropped.
- Session
Bitrate πLimits - Per-session bandwidth policy applied by RTC workers.
EnumsΒ§
- Serve
Error - Failure to serve or fully drain a
Runtime.
FunctionsΒ§
- build_
media_ πtransport - build_
room_ πmanager - build_
room_ πruntime_ policy - run
- Errors
- shutdown_
signal π - spawn_
room_ πreservation_ expiration_ reaper - spawn_
source_ πpacket_ policy_ update_ task - Recomputes room packet policy after transport observations change.