API Diff between 2.3.0 and 5.0.0-nightly-01796
37 Additions
31 Removals
DSharpPlus.VoiceNext
DSharpPlus.VoiceNext.Codec
-
public enum EncryptionMode
-
public class OpusDecoder : IDisposable
-
public sealed class OpusCodec : IDisposable
- public const int PCM_SAMPLE_SIZE = 3840
- public OpusCodec(int samplerate, int channels, VoiceApplication application)
- public byte[] Decode(byte[] opus_input, int offset, int count, int bitrate = 16)
- public void Dispose()
- public byte[] Encode(byte[] pcm_input, int offset, int count, int bitrate = 16)
-
public sealed class RtpCodec
- public const int = 12
- public RtpCodec()
- public void Decode(byte[] header, out ushort sequence, out uint timestamp, out uint ssrc)
- public byte[] Decode(byte[] data, byte[] header)
- public byte[] Encode(ushort sequence, uint timestamp, uint ssrc)
- public byte[] Encode(byte[] header, byte[] data)
- public byte[] MakeNonce(byte[] header)
-
public sealed class SodiumCodec
- public SodiumCodec()
- public static int CreateSecretBox(byte[] buffer, byte[] message, long message_length, byte[] nonce, byte[] key)
- public static int OpenSecretBox(byte[] buffer, byte[] message, long message_length, byte[] nonce, byte[] key)
- public byte[] Decode(byte[] input, byte[] nonce, byte[] secret_key)
- public byte[] Encode(byte[] input, byte[] nonce, byte[] secret_key)
-
public enum VoiceApplication
DSharpPlus.VoiceNext.EventArgs