Skip to main content

reconciled_budget

Function reconciled_budget 

Source
fn reconciled_budget(
    state: &RoomState,
    receiver: &ReceiverUpdate,
) -> Option<ReceiverVideoBudgetDiagnostics>
Expand description

Rebuilds a receiver budget from the allocations the room now holds.

Async route controls may accept only part of the plan. Captured bitrates stand in for ridless observations, which are unavailable after the transport await. Returns None, which keeps the previous budget, when a participating consumer matches neither its captured nor its planned allocation, so no partial receiver-wide view is published.