Skip to main content

Module publication

Module publication 

Source
Expand description

publication transitions keep unnegotiated media out of the room graph

publish intent
  |
  +-- existing producer --> activity commit --> effects after lock
  |
  +-- offer in flight ----> queued intent ---> answer ---> stage next offer
  |
  +-- new producer -------> StagedPublish ---> answer-proven RTP
                             |                  |
                             |                  v
                             |                room graph commit
                             |                  |
                             v                  v
                        rollback teardown   effects after lock

only answer-proven RTP enters the room graph teardown, worker route updates and fanout run after state mutation releases the room lock

Re-exports§

pub use staging::StagedPublish;
pub use staging::StagedPublishes;

Modules§

staging 🔒

Enums§

DeactivateIntentOutcome
PublishIntentOutcome
PublishStageOutcome