mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 12:53:49 +02:00
Read #EXT-X-PROGRAM-DATE-TIME, add Unix epoch-offset timestamps, parallelize HLS master playlist resolution
This commit is contained in:
@@ -22,6 +22,7 @@ export class Segment {
|
||||
input: SegmentedInput;
|
||||
location: SegmentLocation;
|
||||
relativeTimestamp: number;
|
||||
relativeToUnixEpoch: boolean;
|
||||
duration: number;
|
||||
title: string | null;
|
||||
encryption: SegmentEncryptionInfo | null;
|
||||
@@ -32,6 +33,7 @@ export class Segment {
|
||||
input: SegmentedInput,
|
||||
location: SegmentLocation,
|
||||
relativeTimestamp: number,
|
||||
relativeToUnixEpoch: boolean,
|
||||
duration: number,
|
||||
title: string | null,
|
||||
encryption: SegmentEncryptionInfo | null,
|
||||
@@ -41,6 +43,7 @@ export class Segment {
|
||||
this.input = input;
|
||||
this.location = location;
|
||||
this.relativeTimestamp = relativeTimestamp;
|
||||
this.relativeToUnixEpoch = relativeToUnixEpoch;
|
||||
this.duration = duration;
|
||||
this.title = title;
|
||||
this.encryption = encryption;
|
||||
|
||||
Reference in New Issue
Block a user