mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 11:23:45 +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:
@@ -143,10 +143,6 @@ export class AdtsDemuxer extends Demuxer {
|
||||
this.lastLoadedPos = header.startPos + header.frameLength;
|
||||
}
|
||||
|
||||
async getDurationFromMetadata(): Promise<number | null> {
|
||||
return null; // No way
|
||||
}
|
||||
|
||||
async getMimeType() {
|
||||
return 'audio/aac';
|
||||
}
|
||||
@@ -232,7 +228,7 @@ class AdtsAudioTrackBacking implements InputAudioTrackBacking {
|
||||
}
|
||||
|
||||
async getDurationFromMetadata() {
|
||||
return null;
|
||||
return null; // No way
|
||||
}
|
||||
|
||||
async getLiveRefreshInterval() {
|
||||
|
||||
Reference in New Issue
Block a user