mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-30 20:33:55 +02:00
PacketReader read -> get method naming
This commit is contained in:
@@ -43,7 +43,7 @@ test('Can decode faulty transparent video and behaves gracefully', async () => {
|
||||
|
||||
const videoTrack = (await input.getPrimaryVideoTrack())!;
|
||||
const reader = new PacketReader(videoTrack);
|
||||
const secondKeyPacket = (await reader.readNextKey((await reader.readFirst())!))!;
|
||||
const secondKeyPacket = (await reader.getNextKey((await reader.getFirst())!))!;
|
||||
|
||||
await using cursor = new VideoSampleCursor(videoTrack);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user