Interface TargetQualityChangedEvent

Fired when the media track's target quality changes.

interface TargetQualityChangedEvent {
    date: Date;
    qualities: Quality[];
    quality: undefined | Quality;
    type: "targetqualitychanged";
}

Hierarchy (view full)

  • Event<"targetqualitychanged">
    • TargetQualityChangedEvent

Properties

date: Date

The creation date of the event.

qualities: Quality[]

The new target qualities.

quality: undefined | Quality

The new target quality.

type: "targetqualitychanged"

The type of the event.