Skip to main content

Module bootstrap

Module bootstrap 

Source
Expand description

cold-path rtc socket and session bootstrap

this module creates worker sockets during construction and session-local str0m state during negotiation

bootstrap stops at transport setup room policy, media registration, SDP staging and packet routing stay in the worker modules responsible for those contracts

Functionsยง

bind_ip_for_announced_ip ๐Ÿ”’
choose the local bind address that matches the advertised IP family
bind_shared_rtc_socket ๐Ÿ”’
bind the shared worker UDP socket and return the advertised candidate tuple
ensure_session_rtc_state_with_stats_interval ๐Ÿ”’