PrismCore / API reference / Probing and input
Structure
ChapterInfo
struct ChapterInfoDeclared in Sources/PrismCore/Probe/SourceProbe.swift · PrismCore 3.5.4
One chapter mark from the container — a Matroska Chapters edition entry or an MP4 chapter track, both of which libavformat parses into the same AVChapter list.
Chapters are navigation metadata, not media: HLS has no way to carry them, so they never reach AVPlayer through the served playlist. They are reported here so a host can draw its own chapter markers and drive its skip controls — the same facts either playback path can use, since both start from this probe.
Initializers
init(title: String?, start: Double, end: Double?)No documentation comment in the source.
Instance properties
let end: Double?End position in seconds; nil when the container declared none (or declared one that doesn't follow the start — a chapter cannot honestly end before it begins, so a nonsense end reports as "no end" rather than as a fact). A host treating chapters as jump points can ignore this; one drawing ranges should end an open chapter at the next chapter's start, or the source's duration for the last.
Generated from the public symbols of PrismCore 3.5.4. All types