mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 03:13:51 +02:00
Add support for unsized sources, add ReadableStreamSource, fix WAVE packet lookup
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ export class Input<S extends Source = Source> {
|
||||
/** @internal */
|
||||
_getDemuxer() {
|
||||
return this._demuxerPromise ??= (async () => {
|
||||
this._reader.fileSize = await this._source.getSize();
|
||||
this._reader.fileSize = await this._source.getSizeOrNull();
|
||||
|
||||
for (const format of this._formats) {
|
||||
const canRead = await format._canReadInput(this);
|
||||
|
||||
Reference in New Issue
Block a user