Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Media.PlayerError
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { PlayerError } = default.Media;

Corresponds to kMediaError

Properties

type: "pipeline_error" | "media_error"

(PlayerErrorType enum)

errorCode: string

When this switches to using media::Status instead of PipelineStatus we can remove "errorCode" and replace it with the fields from a Status instance. This also seems like a duplicate of the error level enum - there is a todo bug to have that level removed and use this instead. (crbug.com/1068454)