From bccbc7f03bc7999035584fbc77881dc6df204905 Mon Sep 17 00:00:00 2001 From: Jakub Pisarek <99591440+sgfn@users.noreply.github.com> Date: Tue, 6 Aug 2024 16:19:14 +0200 Subject: [PATCH] Handle other retransmit case in DTLSTransport --- lib/ex_webrtc/dtls_transport.ex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ex_webrtc/dtls_transport.ex b/lib/ex_webrtc/dtls_transport.ex index b9db988..535652c 100644 --- a/lib/ex_webrtc/dtls_transport.ex +++ b/lib/ex_webrtc/dtls_transport.ex @@ -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