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:
Vanilagy
2026-04-10 13:38:14 +02:00
parent 0813bcab28
commit aa810fc433
24 changed files with 493 additions and 476 deletions
+1 -5
View File
@@ -388,10 +388,6 @@ export class OggDemuxer extends Demuxer {
});
}
async getDurationFromMetadata(): Promise<number | null> {
return null; // Not stored anywhere
}
async getTrackBackings() {
await this.readMetadata();
return this.trackBackings;
@@ -471,7 +467,7 @@ class OggAudioTrackBacking implements InputAudioTrackBacking {
}
async getDurationFromMetadata() {
return null;
return null; // Not stored anywhere
}
async getLiveRefreshInterval() {