Skip to content

router_serve

fastvideo router-serve CLI subcommand.

Launches the streaming router from a YAML config. Separate from fastvideo serve because the router is an orthogonal process: it fronts one or more running servers rather than hosting a generator itself.

Classes

fastvideo.entrypoints.cli.router_serve.RouterServeSubcommand

RouterServeSubcommand()

Bases: CLISubcommand

Start the multi-replica WebSocket router.

Source code in fastvideo/entrypoints/cli/router_serve.py
def __init__(self) -> None:
    self.name = "router-serve"
    super().__init__()

Functions