Function: projectCastQueue()
function projectCastQueue(snapshot: CastHandoffQueueSnapshot): CastQueueProjection;
Defined in: packages/cast/src/handoff-machine.ts:356
Build the castable projection of a queue snapshot.
Filtering is canCastMedia verbatim — the receiver codec table is the spec.
Start rules are in CastQueueProjection.startShifted's doc. Autoplay:
every item advances receiver-side (that is what survives the phone
sleeping), except the start item, which honours playWhenReady so a paused
handoff arrives paused.
Parameters
| Parameter | Type |
|---|---|
snapshot | CastHandoffQueueSnapshot |