Skip to main content

Module engine

Module engine 

Source
Expand description

Private media engine implementation tree.

This tree owns the room engine, Director’s receiver media policy, diagnostics projections and metrics bridge used below the public o-sfu-core front door. Media transport and RTC workers live in o-sfu-transport.

The media engine has to coordinate state that is too concrete for the pure router and too low level for the server shell: room membership, publish or subscribe transactions, transport cleanup and receiver media policy. It applies them through o_sfu_transport::MediaTransport, so the server crate imports neither RTC workers nor room-state internals.

Modules§

director 🔒
Receiver media policy: decides which audio and which video encoding each receiver gets within its bandwidth and when to decide again.
obligation 🔒
Completion obligations on top of Rust’s affine ownership.
observability 🔒
room
Room lifecycle, membership and media-route orchestration.
source_model
Runtime-native source, encoding and selection vocabulary for published media.
sync 🔒