diff --git a/experiments/Lavalink4NET.Experiments.Receive/Connections/Payloads/SessionDescriptionPayload.cs b/experiments/Lavalink4NET.Experiments.Receive/Connections/Payloads/SessionDescriptionPayload.cs index d54cef8f..1c6422e1 100644 --- a/experiments/Lavalink4NET.Experiments.Receive/Connections/Payloads/SessionDescriptionPayload.cs +++ b/experiments/Lavalink4NET.Experiments.Receive/Connections/Payloads/SessionDescriptionPayload.cs @@ -9,6 +9,10 @@ internal sealed record class SessionDescriptionPayload : IVoicePayload [JsonPropertyName("mode")] public required string Mode { get; set; } + [JsonRequired] + [JsonPropertyName("audio_codec")] + public required string AudioCodec { get; set; } + [JsonRequired] [JsonPropertyName("secret_key")] [JsonConverter(typeof(SecretKeyJsonConverter))]