Skip to main content

start

Function start 

Source
pub async fn start(config: ServeConfig) -> Result<ServerHandle>
Expand description

Start a full-stack LVQR server. All listeners are bound before the function returns, so the ServerHandle immediately reports real addresses even when the config requested ephemeral ports.

The returned handle owns a background task that runs the relay, RTMP, and admin subsystems under a shared cancellation token. Use ServerHandle::shutdown for deterministic teardown.