mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Update docs a bunch, fix some typos
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user