Skip to main content

Interface: CastQueueItemInput

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

One receiver-queue entry for RnMediaCast.queueLoad / inserts.

Properties

autoplay?

optional autoplay?: boolean;

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

Whether the receiver advances into this item automatically. Receiver-side autoplay is what lets the queue survive the phone sleeping.

Default

true

preloadTime?

optional preloadTime?: number;

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

Seconds before the end of the previous item at which the receiver starts pre-buffering this one. Receiver pre-buffering is a gap shortener, not gapless. Omit for the receiver default.


source

source: CastMediaSource;

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


startPosition?

optional startPosition?: number;

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

Position (seconds) at which this item starts when first played.