mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
A BUNCH of HLS (and related) progress
- Add support for fMP4 segments - Add initInput (supported by ISOBMFF and MPEG-TS) - Input.isSupported() - Refactored file size retrieval logic, the file size can now be retrieved alongside the first read. - Add support for unsized UrlSources - Add support for multiple trun boxes in a row for the same track (as the spec literally says lol) - Add support for more M3U8 features - Fix faulty line reader - MPEG-TS improvements: support video parameters not in first packet, support better key frame detection, support extension PES packets without PTS - Fix reorder buffer being 1 element too small
This commit is contained in:
@@ -25,7 +25,7 @@ test('createAesDecryptStream', async () => {
|
||||
const ciphertext = new Uint8Array(await crypto.subtle.encrypt({ name: 'AES-CBC', iv }, cryptoKey, plaintext));
|
||||
|
||||
const source = new BufferSource(ciphertext);
|
||||
const reader = await Reader.fromSource(source);
|
||||
const reader = new Reader(source);
|
||||
|
||||
const stream = createAesDecryptStream(reader, () => ({ key, iv }));
|
||||
const streamReader = stream.getReader();
|
||||
|
||||
Reference in New Issue
Block a user