Add specific, per-output-format data callbacks & rewrite some logic in the process

This commit is contained in:
Vanilagy
2025-03-22 20:30:24 +01:00
parent bbc2e088ca
commit ceb2528014
14 changed files with 458 additions and 100 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ export class EncodedPacket {
/** The type of this packet. */
public readonly type: PacketType,
/**
* The timestamp of this packet in seconds. May be negative. Samples with negative end timestamps should not
* be presented.
* The presentation timestamp of this packet in seconds. May be negative. Samples with negative end timestamps
* should not be presented.
*/
public readonly timestamp: number,
/** The duration of this packet in seconds. */