Skip to content

Commit

Permalink
Fix peer_sdp.exs test
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Feb 5, 2025
1 parent 54a5be1 commit 3a9b73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_webrtc/peer_connection/configuration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ defmodule ExWebRTC.PeerConnection.Configuration do
defp update_codecs(config, sdp) do
%__MODULE__{audio_codecs: audio_codecs, video_codecs: video_codecs} = config
sdp_codecs = SDPUtils.get_rtp_codec_parameters(sdp)
free_pts = get_free_payload_types(sdp_codecs)
free_pts = get_free_payload_types(audio_codecs ++ video_codecs ++ sdp_codecs)

{audio_codecs, free_pts} = do_update_codecs(audio_codecs, sdp_codecs, free_pts)
{video_codecs, _free_pts} = do_update_codecs(video_codecs, sdp_codecs, free_pts)
Expand Down

0 comments on commit 3a9b73b

Please sign in to comment.