CLOCK_SYNC_DEFAULTS: {
    maxRttMs: number;
    pingIntervalMs: number;
    serverMaxRttMs: number;
    serverMinPingIntervalMs: number;
    windowSize: number;
} = ...

Type declaration

  • maxRttMs: number

    Round trips above this are dropped as outliers, in milliseconds.

  • pingIntervalMs: number

    How often a client pings, in milliseconds.

  • serverMaxRttMs: number

    Server-side round trips are clamped to this, in milliseconds.

  • serverMinPingIntervalMs: number

    The server answers at most one ping per client in this many milliseconds.

  • windowSize: number

    Samples kept per client; the best of these decides the offset.