Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix STUN keepalives #231

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/RTPBundleTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ void RTPBundleTransport::onTimer(std::chrono::milliseconds now)
//Fire the timer again for timing out the transaction
iceTimer->Again(ts + iceTimeout - now);
//Done
return;
break;
}
//Get username and remote address of ice candidate
auto& [username,remote] = it->second;
Expand All @@ -873,7 +873,7 @@ void RTPBundleTransport::onTimer(std::chrono::milliseconds now)

//If not found
if (cconnectionIterator==connections.end())
break;
continue;

//Get ice connection
auto connection = cconnectionIterator->second;
Expand All @@ -883,7 +883,7 @@ void RTPBundleTransport::onTimer(std::chrono::milliseconds now)

//Check we have it
if (candidateIterator==candidates.end())
break;
continue;

//Get it
ICERemoteCandidate* candidate = &candidateIterator->second;
Expand Down