Skip to content

Commit

Permalink
Retransmit srflx gathering transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Jul 26, 2024
1 parent 0d92ecf commit 9d81512
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 127 deletions.
6 changes: 2 additions & 4 deletions lib/ex_ice/ice_agent.ex
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,8 @@ defmodule ExICE.ICEAgent do
end

@impl true
def handle_info({:conn_check_rtx_timeout, conn_check_t_id}, state) do
ice_agent =
ExICE.Priv.ICEAgent.handle_conn_check_rtx_timeout(state.ice_agent, conn_check_t_id)

def handle_info({:tr_rtx_timeout, tr_id}, state) do
ice_agent = ExICE.Priv.ICEAgent.handle_tr_rtx_timeout(state.ice_agent, tr_id)
{:noreply, %{state | ice_agent: ice_agent}}
end

Expand Down
2 changes: 2 additions & 0 deletions lib/ex_ice/priv/gatherer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ defmodule ExICE.Priv.Gatherer do
Socket: #{inspect(sock_ip)}
STUN server: #{inspect(stun_server)}
""")

{:error, :non_matching_addr_family}
end

{:error, reason} ->
Expand Down
Loading

0 comments on commit 9d81512

Please sign in to comment.