Add Sending Audio in a Discord Channel
commit
0a177591f2
12
Sending-Audio-in-a-Discord-Channel.md
Normal file
12
Sending-Audio-in-a-Discord-Channel.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
## Relevant links
|
||||||
|
|
||||||
|
- https://discord.com/developers/docs/events/gateway
|
||||||
|
- https://discord.com/developers/docs/topics/voice-connections#voice-gateway-versioning
|
||||||
|
- https://discord.com/developers/docs/events/overview
|
||||||
|
|
||||||
|
## Encoding audio
|
||||||
|
|
||||||
|
We use `ffmpeg` to encode audio into opus frames that we then send to discord.
|
||||||
|
|
||||||
|
Frames should be sent at a constant rate of one frame/20ms at 48khz 2 channel encoding.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user