Skip to main content

Module control

Module control 

Source
Expand description

RTC command workflows for one worker.

dispatcher applies mailbox commands during the worker turn. Handlers coordinate str0m changes with PacketLoopState operations that keep session, media and route indexes consistent.

negotiation owns offer/answer exchange and uses publication to reconcile producer bindings. media handles media declaration, removal and controls for existing routes.

Decoder recovery is shared with packet_loop through recovery.

Re-exportsยง

pub use self::dispatcher::WorkerCommandContext;
pub use self::dispatcher::handle_worker_command;

Modulesยง

bwe ๐Ÿ”’
receiver-side bandwidth-estimation target updates.
dispatcher ๐Ÿ”’
Mailbox command projection into worker-local RTC handlers.
media ๐Ÿ”’
Media declaration and controls for producer and consumer routes.
negotiation ๐Ÿ”’
Offer/answer ownership for worker-local RTC users.
publication ๐Ÿ”’
Answer-side producer parameter projection.
recv_stream ๐Ÿ”’
session ๐Ÿ”’
worker teardown at user level and auxiliary user bookkeeping.