This commit is contained in:
skdhg committed 2023-08-13 18:07:00 +05:45
1 parent c66de0ab9c
commit 3f96a50859
1 file changed
+5
+5
View File
@@ -68,6 +68,11 @@ const { result } = await mediaplex.probeStream(stream, 1024);
const { result } = await mediaplex.probeStream(stream, 5 * 1024 * 1024);
```
// add a note
> ⚠️
> Probing a stream is non-blocking as it is done in a worker thread. But probing a buffer is a blocking operation.
## Opus Encoder
Mediaplex also includes an Opus encoder/decoder. Here's an example: