Add HLS master playlist generation, add multi-playlistadd output track grouping, add multi-playlist HLS files, add configurable playlist and segment names, add TrackDisposition.primary

This commit is contained in:
Vanilagy
2026-03-24 15:53:21 +01:00
parent c91718cdba
commit 3e87d747e6
17 changed files with 1777 additions and 117 deletions
+2 -5
View File
@@ -267,11 +267,8 @@ export class Input<S extends Source = Source> implements Disposable {
}
/**
* @deprecated Prefer not using this getter since it is ill-defined for files driven by multiple sources. The
* {@link Input.onSource} callback provides an alternative.
*
* Returns the source from which this input file reads data for the entry path. Throws if the source-resolving
* function returns a Promise.
* function returns a promise; prefer the {@link Input.onSource} callback for those cases.
*/
get source(): S {
if (this._source instanceof SourceRef) {
@@ -284,7 +281,7 @@ export class Input<S extends Source = Source> implements Disposable {
if (source instanceof Promise) {
throw new TypeError(
'Input.source cannot be used when the source function resolves asynchronously.'
+ ' Use getSource() instead.',
+ ' Use the onSource event instead.',
);
}