Skip to main content

Interface: RetryingEvent

Defined in: packages/player/src/player.ts:851

Payload of the retrying event.

Properties

attempt

readonly attempt: number;

Defined in: packages/player/src/player.ts:855

Which attempt this is, 1-based.


error

readonly error: PlayerError;

Defined in: packages/player/src/player.ts:859

The typed failure that triggered the re-attempt.


index

readonly index: number;

Defined in: packages/player/src/player.ts:853

Playlist index of the entry being re-attempted.


maxAttempts

readonly maxAttempts: number;

Defined in: packages/player/src/player.ts:857

The budget it is counting against (RetryOptions.maxAttempts).