mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-09 16:53:47 +02:00
Add packet type derivation logic, new verifyKeyPackets options, new determinePacketType method
This commit is contained in:
@@ -694,8 +694,7 @@ export class MatroskaMuxer extends Muxer {
|
||||
|
||||
const bitstream = new Bitstream(chunk.data);
|
||||
|
||||
// Check if it's a "superframe"
|
||||
if (bitstream.readBits(2) !== 0b10) return;
|
||||
bitstream.skipBits(2);
|
||||
|
||||
const profileLowBit = bitstream.readBits(1);
|
||||
const profileHighBit = bitstream.readBits(1);
|
||||
|
||||
Reference in New Issue
Block a user