Skip to main content

Interface: CastMediaMetadata

Defined in: packages/cast/src/specs/cast.nitro.ts:108

Metadata projected onto the receiver's now-playing surface.

The projection names every field it forwards (failure-mode rule from the design doc): title, artist, album title and one artwork URL. Nothing else survives the handoff.

Properties

albumTitle?

optional albumTitle?: string;

Defined in: packages/cast/src/specs/cast.nitro.ts:111


artist?

optional artist?: string;

Defined in: packages/cast/src/specs/cast.nitro.ts:110


artworkUrl?

optional artworkUrl?: string;

Defined in: packages/cast/src/specs/cast.nitro.ts:113

HTTPS URL the receiver fetches — file:// artwork cannot cast.


title?

optional title?: string;

Defined in: packages/cast/src/specs/cast.nitro.ts:109