interface AudioQualityChangedEvent {
    sourceQuality?: AudioQuality;
    sourceQualityId: string;
    targetQuality?: AudioQuality;
    targetQualityId: string;
    timestamp: number;
    type: PlayerEvent;
}

Hierarchy (view full)

Properties

sourceQuality?: AudioQuality

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?: AudioQuality

New quality

targetQualityId: string

ID of the new quality.

timestamp: number

The time at which this event was fired

Event type, e.g. 'play'