Skip to content

Interface: SampledFrame

Defined in: aiui-intent-runtime/src/video.ts:66

One frame's identity within its share, as VideoSamplerDeps.sendFrame sees it.

Properties

offsetMs

offsetMs: number

Defined in: aiui-intent-runtime/src/video.ts:72

takenAt minus the share's start — what the prompt renders as at="N.Ns".


seq

seq: number

Defined in: aiui-intent-runtime/src/video.ts:68

The frame's index within this share, counting from 0. Skipped ticks don't advance it.


takenAt

takenAt: number

Defined in: aiui-intent-runtime/src/video.ts:70

Wall-clock at which the pixels were grabbed — before the encode, which is async.