method PlayerContextValue.onError
PlayerContextValue.onError(): void

Called by MediaPlayer when its media fails, to re-resolve a stream.

Return Type

void

Usage

import { type PlayerContextValue } from "src/contexts/player/PlayerContext.ts";