interface LowLatencyAPI {
    getCatchupConfig(): LowLatencySyncConfig;
    getFallbackConfig(): LowLatencySyncConfig;
    getLatency(): number;
    getTargetLatency(): number;
    setCatchupConfig(config): void;
    setFallbackConfig(config): void;
    setTargetLatency(latency): void;
}

Methods

  • Returns the current latency in seconds.

    Returns number

    Since

    v8.3

  • Returns the current target latency in seconds.

    Returns number

    Since

    v8.3

  • Sets the configuration specifying parameters for latency catchup.

    Parameters

    Returns void

    Since

    v8.3

  • Sets the configuration specifying parameters for latency fallback.

    Parameters

    Returns void

    Since

    v8.3

  • Sets the target latency to be maintained during playback. Causes firing a TargetLatencyChanged event.

    Parameters

    • latency: number

      the target latency in seconds.

    Returns void

    Since

    v8.3