OGPlayer React Native SDK
    Preparing search index...

    Interface LiveInfo

    Runtime facts about the current live stream, read with ref.getLiveInfo(). Null for VOD or when nothing is loaded.

    interface LiveInfo {
        atLiveEdge: boolean;
        dvrWindowMs: number;
        latencyMs: number;
        playheadWallClockMs: number | null;
        streamType: StreamType;
    }
    Index
    atLiveEdge: boolean

    True when playback is within ~10 s of the live edge.

    dvrWindowMs: number

    Length of the seekable window in milliseconds (0 when unknown).

    latencyMs: number

    Current distance behind the live edge in milliseconds (-1 when unknown).

    playheadWallClockMs: number | null

    Wall-clock time (epoch ms) of the current playhead when the stream carries program timing (EXT-X-PROGRAM-DATE-TIME); null otherwise. Date.now() - playheadWallClockMs is how far behind real time the viewer is watching.

    streamType: StreamType