Skip to content

Commit

Permalink
Transition to Checking if we have new but not yet nominated candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Aug 15, 2024
1 parent 5f26c37 commit 1a53502
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ice/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1673,6 +1673,8 @@ impl IceAgent {
if !any_still_possible {
self.set_connection_state(Completed, "no more possible to try");
}
} else if any_still_possible {
self.set_connection_state(Checking, "got new possible");
} else {
self.set_connection_state(Disconnected, "none nominated");
}
Expand All @@ -1682,6 +1684,8 @@ impl IceAgent {
if any_still_possible && !self.ice_lite {
self.set_connection_state(Connected, "got new possible");
}
} else if any_still_possible {
self.set_connection_state(Checking, "got new possible");
} else {
self.set_connection_state(Disconnected, "none nominated");
}
Expand Down

0 comments on commit 1a53502

Please sign in to comment.