mirror of
https://github.com/darksaid98/mediaplex.git
synced 2026-12-04 06:28:50 +00:00
chore: docs
This commit is contained in:
1 parent
a498b0b176
commit
8930e684b9
2 files changed
+1
-2
No files matched your search
@@ -37,7 +37,6 @@ jobs:
|
|||||||
build: |
|
build: |
|
||||||
yarn build --target i686-pc-windows-msvc
|
yarn build --target i686-pc-windows-msvc
|
||||||
yarn test
|
yarn test
|
||||||
yarn benchmark
|
|
||||||
target: i686-pc-windows-msvc
|
target: i686-pc-windows-msvc
|
||||||
- host: ubuntu-latest
|
- host: ubuntu-latest
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ const { result } = await mediaplex.probeStream(stream, 5 * 1024 * 1024);
|
|||||||
|
|
||||||
## Opus Encoder
|
## Opus Encoder
|
||||||
|
|
||||||
Mediaplex also includes an Opus encoder/decoder. Here's an example:
|
Mediaplex also includes an Opus encoder/decoder, which can be used as a drop-in replacement for [`@discordjs/opus`](https://github.com/discordjs/opus). Here's an example on how to use it:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const { OpusEncoder, getOpusVersion } = require('mediaplex');
|
const { OpusEncoder, getOpusVersion } = require('mediaplex');
|
||||||
|
|||||||
Reference in new issue
Block a user