Rename IceControllerEvent to IceRecheckEvent 3/n

This changes renames the event to better suit its purpose. An alias
with the old name is added for compatibility pending internal cleanup.

Bug: webrtc:14125, webrtc:14131
Change-Id: I87026e19f2620eaa6a6770dcbedf1d0399c6c6b0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/264149
Reviewed-by: Jonas Oreland <jonaso@webrtc.org>
Commit-Queue: Sameer Vijaykar <samvi@google.com>
Cr-Commit-Position: refs/heads/main@{#37111}
This commit is contained in:
Sameer Vijaykar
2022-06-03 11:39:39 +02:00
committed by WebRTC LUCI CQ
parent 3656581ade
commit 2a1accd5e6
3 changed files with 36 additions and 34 deletions

View File

@ -465,7 +465,7 @@ BasicIceController::HandleInitialSelectDampening(
RTC_LOG(LS_INFO) << "delay initial selection up to " << min_delay << "ms";
return {.connection = absl::nullopt,
.recheck_event = IceControllerEvent(
.recheck_event = IceRecheckEvent(
IceSwitchReason::ICE_CONTROLLER_RECHECK, min_delay)};
}
@ -496,7 +496,7 @@ IceControllerInterface::SwitchResult BasicIceController::ShouldSwitchConnection(
receiving_unchanged_threshold,
&missed_receiving_unchanged_threshold);
absl::optional<IceControllerEvent> recheck_event;
absl::optional<IceRecheckEvent> recheck_event;
if (missed_receiving_unchanged_threshold &&
config_.receiving_switching_delay_or_default()) {
// If we do not switch to the connection because it missed the receiving