mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +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([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:
|
||||
```ts
|
||||
|
||||
Reference in New Issue
Block a user