targetLatency

The offset in seconds between the target playhead time and the real time, or window edge, if the offset to current real time is not known. Setting this will move the player's definition of the live edge to targetLatency. The player will try to bring the LowLatencyApi.latency as close as possible to the targetLatency while avoiding stalls.

If not null, the value:

Media-defined latency is:

  • For Dash,

    • ServiceDescription.latency.target if set,

    • otherwise suggestedPresentationDelay if set,

    • otherwise 30s.

  • For HLS,

    • EXT-X-START if set,

    • otherwise EXT-X-PART-INF if both it and PART-HOLD-BACK are set,

    • otherwise 3 * EXT-X-TARGETDURATION.

Default is null.