Interface VideoDownloadQualityChangedEvent

interface VideoDownloadQualityChangedEvent {
    sourceQuality?: VideoQuality;
    sourceQualityId: string;
    targetQuality?: VideoQuality;
    targetQualityId: string;
    timestamp: number;
    type: PlayerEvent;
}

Hierarchy (view full)

Properties

sourceQuality?: VideoQuality

Previous quality or null if no quality was set before.

sourceQualityId: string

ID of the previous quality or null if no quality was set before.

targetQuality?: VideoQuality

New quality

targetQualityId: string

ID of the new quality.

timestamp: number

The time at which this event was fired

Event type, e.g. 'play'