Update docs a bunch, fix some typos

This commit is contained in:
Vanilagy
2026-04-15 14:36:53 +02:00
parent 606ee87822
commit 7080b79a2a
16 changed files with 508 additions and 116 deletions
+2
View File
@@ -33,6 +33,7 @@ import {
ADTS, // ADTS input format singleton
FLAC, // FLAC input format singleton
MPEG_TS, // MPEG-TS input format singleton
HLS, // HLS input format singleton
} from 'mediabunny';
```
@@ -82,6 +83,7 @@ In addition to singletons, input format classes are structured hierarchically:
- `AdtsInputFormat`
- `FlacInputFormat`
- `MpegTsInputFormat`
- `HlsInputFormat`
This means you can also perform input format checks using `instanceof` instead of `===` comparisons. For example:
```ts