mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 13:53:53 +02:00
Small docs adjustments
This commit is contained in:
@@ -222,7 +222,7 @@ sink.samplesAtTimestamps([1, 2, 3]);
|
|||||||
sink.samplesAtTimestamps([4, 5, 5, 5]);
|
sink.samplesAtTimestamps([4, 5, 5, 5]);
|
||||||
sink.samplesAtTimestamps([10, -2, 3]);
|
sink.samplesAtTimestamps([10, -2, 3]);
|
||||||
```
|
```
|
||||||
This method is more efficient than `getSample` because it avoids decoding the same packet twice.
|
This method is more efficient than multiple calls to `getSample` because it avoids decoding the same packet twice.
|
||||||
|
|
||||||
In addition to arrays, you can pass any iterable into this method:
|
In addition to arrays, you can pass any iterable into this method:
|
||||||
```ts
|
```ts
|
||||||
|
|||||||
+2
-2
@@ -38,8 +38,8 @@ things the guide needs to cover:
|
|||||||
- conversion
|
- conversion
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- Extracting media file metadata
|
✅ Extracting media file metadata
|
||||||
- Rendering thumbnails for a video / extracting a wave form?
|
✅ Rendering thumbnails for a video / extracting a wave form?
|
||||||
- Media player
|
- Media player
|
||||||
- Conversion demo: File compressor
|
- Conversion demo: File compressor
|
||||||
- Procedurally generated video (faster than real time)
|
- Procedurally generated video (faster than real time)
|
||||||
|
|||||||
Reference in New Issue
Block a user