Interface: CastMediaSource
Defined in: packages/cast/src/specs/cast.nitro.ts:117
One castable media source. The receiver fetches url itself.
Properties
duration?
optional duration?: number;
Defined in: packages/cast/src/specs/cast.nitro.ts:124
Known duration in seconds. Omit when unknown.
live?
optional live?: boolean;
Defined in: packages/cast/src/specs/cast.nitro.ts:126
true marks a live stream (receiver disables seeking).
metadata?
optional metadata?: CastMediaMetadata;
Defined in: packages/cast/src/specs/cast.nitro.ts:122
mimeType
mimeType: string;
Defined in: packages/cast/src/specs/cast.nitro.ts:121
Concrete audio MIME type, e.g. 'audio/mp3', 'audio/mp4', 'audio/flac'.
url
url: string;
Defined in: packages/cast/src/specs/cast.nitro.ts:119
HTTP(S) URL reachable from the receiver's network.