PrismCore / API reference / Subtitles and captions
Structure
SubtitleCueHistoryStats
struct SubtitleCueHistoryStatsDeclared in Sources/PrismCore/Subtitles/TimedTextCue.swift · PrismCore 3.5.4
What the remux cue tap is holding right now, and what it let go of — so a bounded history's truncation is never silent.
Initializers
init(retainedCues: Int, retainedBytes: Int, evictedCues: Int, droppedBeforeOrigin: Int)No documentation comment in the source.
Instance properties
let retainedBytes: IntUTF-8 bytes of those cues' text plus their dedup keys — the figure SubtitleCueHistory.bounded(maxBytes:) limits.
let evictedCues: IntCues that were delivered (or would have been, to a registered handler) but are no longer replayable: evicted to make room, or too large to retain at all. Always 0 under .complete.
let droppedBeforeOrigin: IntCues produced before the presentation origin that overflowed the pre-origin queue and were never delivered. Always 0 under .complete.
Generated from the public symbols of PrismCore 3.5.4. All types