Expand description
Private media engine implementation tree.
This tree owns the room engine, media transport facade, RTC worker implementation,
recording hooks, diagnostics projections, metrics bridge and source policy
machinery used below the public o-sfu-core front door.
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, packet sinks, relay setup, packet- loop observations and room media policy. Keeping those pieces together lets them share media-engine state without making the server crate import RTC workers or room-state internals.
Re-exports§
pub use crate::RoomInstanceId;
Modules§
- media_
transport - Runtime media transport boundary used by core.
- metrics
- observability 🔒
- packet_
sink_ registry - recording
- Recording packet-sink extension point.
- room
- Room lifecycle, membership and media-route orchestration.
- source_
model - Runtime-native source, encoding and selection vocabulary for published media.
- sync
Structs§
- Available
Features - room capabilities advertised to a newly connected browser client
- Connection
Id - unique identifier for a user’s transport connection within the server process
- Media
Worker Id - runtime-local identifier for one rtc media worker
- Peer
Snapshot - full peer entry sent when a client needs the current room membership view
- Recording
Options - recording modes requested by a user
- Recording
State - current room recording state as shown to call participants
- Recording
State Update - recording state update emitted to clients and observers
- User
Info - presence and call UI state associated with one room participant
- User
Permissions - user-level permissions supplied by the Odoo authentication path
Enums§
- Stop
Code - business reason attached to a recording stop update
- UserId
- user identity as accepted by the Odoo-facing call contract
- Video
Layout Intent - receiver-side layout role for a video stream
- WebSocket
Close Code - websocket close code vocabulary shared by server and browser protocol code
Type Aliases§
- Json
Payload - opaque compatibility payload carried through legacy broadcast paths