mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
Add metadata tests, fix a few bugs
This commit is contained in:
+5
-1
@@ -14,7 +14,11 @@
|
||||
source: new Mediabunny.BlobSource(file),
|
||||
});
|
||||
|
||||
console.log(await input.getMetadata());
|
||||
const audioTrack = await input.getPrimaryAudioTrack();
|
||||
const sink = new Mediabunny.EncodedPacketSink(audioTrack);
|
||||
|
||||
console.log(await audioTrack.getDecoderConfig())
|
||||
console.log(await sink.getFirstPacket());
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user