make getSize and input source public

This commit is contained in:
Yonatan Bendahan
2025-04-15 15:09:15 +03:00
parent 69751e8bfe
commit 9738329f73
9 changed files with 19 additions and 21 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export class Mp3Demuxer extends Demuxer {
async readMetadata() {
return this.metadataPromise ??= (async () => {
const fileSize = await this.input._source._getSize();
const fileSize = await this.input.source.getSize();
this.reader.fileSize = fileSize;
// Just load the entire file. Primitive, but the only way to actually ensure 100% correct timestamps.