Skip to content

Commit

Permalink
fix: Add missing audio_codec field in session description payload
Browse files Browse the repository at this point in the history
  • Loading branch information
angelobreuer committed Apr 28, 2024
1 parent 6f86e90 commit 39433c0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand Down

0 comments on commit 39433c0

Please sign in to comment.