mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-09 16:53:47 +02:00
Fix SourceRef race conditions, fix "source" and "target" getter returning unused instances, add missing validation, make "getDurationFromMetadata" only exist on tracks, fix examples, expand media player to support live playback, change the signatures of some Input APIs
This commit is contained in:
@@ -593,12 +593,6 @@ export class HlsDemuxer extends Demuxer {
|
||||
return segmentedInput;
|
||||
}
|
||||
|
||||
async getDurationFromMetadata(options: DurationMetadataRequestOptions): Promise<number | null> {
|
||||
return this.hasMasterPlaylist
|
||||
? null
|
||||
: this.segmentedInputs[0]!.getDurationFromMetadata(options);
|
||||
}
|
||||
|
||||
async getMetadataTags(): Promise<MetadataTags> {
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user