Skip to content

Commit

Permalink
Handle other retransmit case in DTLSTransport
Browse files Browse the repository at this point in the history
  • Loading branch information
sgfn committed Aug 6, 2024
1 parent 15eee61 commit bccbc7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/ex_webrtc/dtls_transport.ex
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,13 @@ defmodule ExWebRTC.DTLSTransport do
# packets to retransmit have to be the same as dtls_buffered_packets
Process.send_after(self(), :dtls_timeout, timeout)

{:retransmit, _packets, timeout} ->
Logger.warning(
"DTLSTransport: Packets to retransmit differ from buffered local packets despite ICE not being connected"
)

Process.send_after(self(), :dtls_timeout, timeout)

:ok ->
:ok
end
Expand Down

0 comments on commit bccbc7f

Please sign in to comment.