Emitted when the player starts time shifting. This event only applies to live streams. When looking for an equivalent for VoD streams, the SeekEvent is relevant.

interface TimeShiftEvent {
    name: string;
    position: number;
    targetPosition: number;
    timestamp: number;
}

Hierarchy (view full)

Properties

name: string

This event name as it is on the native side.

position: number

The position from which we start the time shift

targetPosition: number

The position to which we want to jump for the time shift

timestamp: number

The UNIX timestamp in which this event happened.