Skip to content

Commit

Permalink
Tweak log and copy order
Browse files Browse the repository at this point in the history
  • Loading branch information
k0nserv committed Oct 24, 2024
1 parent 4ace3ac commit 135da62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ice/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,13 +748,13 @@ impl IceAgent {
);
} else {
// replace the existing candidate pair, since the new one got a higher prio.
pair.copy_nominated_and_success_state(&self.candidate_pairs[check_idx]);

debug!(
"Replace redundant pair, current: {:?} replaced with: {:?}",
check, pair
);

pair.copy_nominated_and_success_state(&self.candidate_pairs[check_idx]);

if self.ice_lite {
debug!("Retain incoming binding requests for pair");
pair.copy_remote_binding_requests(&self.candidate_pairs[check_idx]);
Expand Down

0 comments on commit 135da62

Please sign in to comment.