Fix HLS demuxer parsing bug, extract HLS mime type out, add TargetRequest.mimeType

This commit is contained in:
Vanilagy
2026-04-16 10:53:36 +02:00
parent d68c9c4fb1
commit 2d0aac3208
8 changed files with 87 additions and 13 deletions
+3 -1
View File
@@ -727,6 +727,8 @@ export class PathedTarget<T extends Target> {
export type TargetRequest = {
/** The requested file path. */
path: FilePath;
/** Whether the requested file is the root file. */
/** Whether the to-be-written file will be the root file. */
isRoot: boolean;
/** The MIME type of the to-be-written file. */
mimeType: string;
};