mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 04:43:51 +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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user