Skip to content

Commit

Permalink
Log info about non-symmetric responses on debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Sep 23, 2024
1 parent be88988 commit 5cd659a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ex_ice/priv/ice_agent.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ defmodule ExICE.Priv.ICEAgent do
cc_local_cand = Map.fetch!(ice_agent.local_cands, conn_check_pair.local_cand_id)
cc_remote_cand = Map.fetch!(ice_agent.remote_cands, conn_check_pair.remote_cand_id)

Logger.warning("""
Logger.debug("""
Ignoring conn check response, non-symmetric src and dst addresses.
Sent from: #{inspect({cc_local_cand.base.base_address, cc_local_cand.base.base_port})}, \
to: #{inspect({cc_remote_cand.address, cc_remote_cand.port})}
Expand Down Expand Up @@ -1657,7 +1657,7 @@ defmodule ExICE.Priv.ICEAgent do
ka_local_cand = Map.fetch!(ice_agent.local_cands, pair.local_cand_id)
ka_remote_cand = Map.fetch!(ice_agent.remote_cands, pair.remote_cand_id)

Logger.warning("""
Logger.debug("""
Ignoring keepalive success response, non-symmetric src and dst addresses.
Sent from: #{inspect({ka_local_cand.base.base_address, ka_local_cand.base.base_port})}, \
to: #{inspect({ka_remote_cand.address, ka_remote_cand.port})}
Expand Down

0 comments on commit 5cd659a

Please sign in to comment.