mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 05:13:50 +02:00
Document MPEG-TS
This commit is contained in:
@@ -32,6 +32,7 @@ import {
|
||||
OGG, // Ogg input format singleton
|
||||
ADTS, // ADTS input format singleton
|
||||
FLAC, // FLAC input format singleton
|
||||
MPEG_TS, // MPEG-TS input format singleton
|
||||
} from 'mediabunny';
|
||||
```
|
||||
|
||||
@@ -80,6 +81,7 @@ In addition to singletons, input format classes are structured hierarchically:
|
||||
- `OggInputFormat`
|
||||
- `AdtsInputFormat`
|
||||
- `FlacInputFormat`
|
||||
- `MpegTsInputFormat`
|
||||
|
||||
This means you can also perform input format checks using `instanceof` instead of `===` comparisons. For example:
|
||||
```ts
|
||||
|
||||
Reference in New Issue
Block a user