PrismCore / API reference / Remux and audio

Structure

TimestampRepairStats

struct TimestampRepairStats

Declared in Sources/PrismCore/Remux/TimestampSanitizer.swift · PrismCore 3.5.4

What the timestamp sanitizer had to repair over a session's remux.

Non-zero counts mean the source's timestamps were not muxable as they came: before this existed, any of them failed the remux outright (or, for a PTS below its DTS, could). Worth a host's log line when chasing a stutter report, because every repair moves one packet by the smallest amount that makes it legal, and that is not always what the encoder meant.

Initializers

init(missingDTSFilled: Int, nonMonotonicDTSBumped: Int, ptsRaisedToDTS: Int)

No documentation comment in the source.

Instance properties

let missingDTSFilled: Int

Packets that arrived with no DTS and were given one.

let nonMonotonicDTSBumped: Int

Packets whose DTS did not move past the previous packet's and was raised to one tick after it.

let ptsRaisedToDTS: Int

Packets presented before they would be decoded, whose PTS was raised to their DTS.

var total: Int { get }

Repairs of any kind — a packet that needed two counts twice.

Generated from the public symbols of PrismCore 3.5.4. All types