mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
- Ignored intent warnings on startup
- Moved FilterWordsChannelId to a separate table (needs testing) - Some todos updated
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Ayu.Discord.Voice
|
||||
_arrayPool = ArrayPool<byte>.Shared;
|
||||
}
|
||||
|
||||
// todo 3.2 direct opus streams
|
||||
// todo future direct opus streams
|
||||
public int SendPcmFrame(VoiceGateway gw, Span<byte> data, int offset, int count)
|
||||
{
|
||||
var secretKey = gw.SecretKey;
|
||||
@@ -148,7 +148,7 @@ namespace Ayu.Discord.Voice
|
||||
Buffer.BlockCopy(nonce, 0, rtpData, rtpDataLength - 4, 4);
|
||||
|
||||
gw.SendRtpData(rtpData, rtpDataLength);
|
||||
// todo 3.2 When there's a break in the sent data,
|
||||
// todo future When there's a break in the sent data,
|
||||
// the packet transmission shouldn't simply stop.
|
||||
// Instead, send five frames of silence (0xF8, 0xFF, 0xFE)
|
||||
// before stopping to avoid unintended Opus interpolation
|
||||
|
Reference in New Issue
Block a user