PrismCore / API reference / Probing and input

Structure

SuppliedKeyframeMap

struct SuppliedKeyframeMap

Declared in Sources/PrismCore/Probe/SourceOpenHints.swift · PrismCore 3.5.4

A keyframe map that arrived from somewhere other than this machine's own read of the file.

Same units as KeyframeIndexCache.Entry — timestamps on a stream's time base — and deliberately not the same type. That one is a local sidecar keyed by URL, byte size, duration and mtime, written as a by-product of a remux that read the whole file here. This one is an assertion made elsewhere about an HTTP representation. Same numbers, different provenance, different validation, different trust; one type for both would make the difference a comment instead of a compiler error.

Initializers

init(streamIndex: Int32, timeBaseNum: Int32, timeBaseDen: Int32, keyframePTS: [Int64], completeness: IndexCompleteness, coveredThroughPTS: Int64? = nil)

No documentation comment in the source.

Instance properties

var streamIndex: Int32

No documentation comment in the source.

var timeBaseNum: Int32

No documentation comment in the source.

var timeBaseDen: Int32

No documentation comment in the source.

var keyframePTS: [Int64]

Keyframe timestamps on that stream's time base, strictly increasing.

var completeness: IndexCompleteness

No documentation comment in the source.

var coveredThroughPTS: Int64?

The last timestamp of the contiguous run, for a partial map.

Type properties

static let maxEntries: Int

The largest map this engine will consider. The same ceiling the export side uses, for the same reason and so that a document this engine produced is never one it would refuse.

Generated from the public symbols of PrismCore 3.5.4. All types