We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea3afd9 commit 9f9ae98Copy full SHA for 9f9ae98
pulsebeam/src/participant/downstream/video.rs
@@ -562,8 +562,11 @@ impl Slot {
562
return;
563
}
564
565
- let current_delay_ms = KEYFRAME_RETRY_DELAYS_MS[self.keyframe_retries];
566
- let deadline = started_at + Duration::from_millis(current_delay_ms);
+ let current_cumulative_delay: u64 = KEYFRAME_RETRY_DELAYS_MS
+ .iter()
567
+ .take(self.keyframe_retries + 1)
568
+ .sum();
569
+ let deadline = started_at + Duration::from_millis(current_cumulative_delay);
570
if deadline > now {
571
572
0 commit comments