Skip to main content

Interface: CanCastVerdict

Defined in: packages/cast/src/can-cast.ts:21

Properties

castable

castable: boolean;

Defined in: packages/cast/src/can-cast.ts:22


reason?

optional reason?: "codec" | "local-file" | "headers";

Defined in: packages/cast/src/can-cast.ts:33

Why not, when castable is false:

  • codec — the receiver codec table has no decoder for this format.
  • local-file — the receiver fetches URLs itself; file:///content:// and bare filesystem paths are unreachable from it (no local HTTP server in v1 — a documented decision, not an oversight).
  • headers — per-source auth headers do not travel: the Default Media Receiver cannot attach them. Signed-query URLs work; header-auth needs a custom Web Receiver plus the credentials passthrough.