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
  |
  +-- initial offer in flight -> queued intent ----> answer --> stage
  |
  +-- new producer ------------> StagedPublish ----> answer-proven RTP
                                   |                   |
                                   |                   v
                                   |                 room graph commit
                                   |                   |
                                   v                   v
                              rollback teardown    effects after lock

A publish staged while a later offer is in flight waits in the transport for the next offer and stays staged across the answer in between.

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

Functions§

execute_publication_activity 🔒