PrismCore / API reference / Probing and input

Enumeration

IndexLocation

enum IndexLocation

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

Where a container keeps its seek index, in the published resource's own byte coordinates.

none requires positive evidence that the container declares no index. An empty index table at open is not that evidence — a Matroska's Cues live at the tail and the demuxer has not read them yet — so the honest answer for "we did not look, or we looked and could not tell" is unknown. The distinction exists because a client that read none would skip the tail reads entirely, and skipping them on a file that has Cues costs a keyframe-basis plan, silently.

Cases

case tail

The index follows the media (the Matroska norm, a non-faststart MP4).

case none

The container positively declares no index.

case unknown

Not determined. The default, and the only answer a scan that did not run may give.

Generated from the public symbols of PrismCore 3.5.4. All types