Interface MediaPlaybackQualityChangeEvent<Q>

interface MediaPlaybackQualityChangeEvent<Q> {
    sourceQuality: Q;
    targetQuality: Q;
    timestamp: number;
    type: PlayerEvent;
}

Type Parameters

Hierarchy (view full)

Properties

sourceQuality: Q

Previous quality

targetQuality: Q

New quality

timestamp: number

The time at which this event was fired

Event type, e.g. 'play'