Member Junction
    Preparing search index...

    How a realtime session gets MINTED — the seam between "a host wants a session" and "the server has created one and handed back a token".

    The runtime owns everything either side of it (channel scoping, driver resolution, connecting, transcripts, teardown). A launcher owns only the exchange. That is what lets an app change how a session is minted — a guest-session exchange, a deployment-specific mutation that carries server-side context the stock one cannot — without proxying the runtime's provider or re-implementing the run half. Install one with RealtimeSessionRuntime.Launcher.

    A launcher must either resolve a usable result (one carrying an ephemeral token, or a relay session's relay URL) or throw; the runtime turns a throw into a failed start with the error on LastStartError.

    interface IRealtimeSessionLauncher {
        Launch(
            request: RealtimeSessionLaunchRequest,
            context: RealtimeSessionLaunchContext,
        ): Promise<StartRealtimeClientSessionResult>;
    }

    Implemented by

    Index

    Methods

    Methods