Skip to content

v2.6.0

Choose a tag to compare

@datagutt datagutt released this 11 Nov 19:00
· 304 commits to main since this release

What's Changed

  • Updated the congestion control logic to introduce progressive recovery rates based on the time since the last NAK.
    • The recovery rates are now categorized as follows:
      • 25% for recent NAKs (<5 seconds)
      • 50% for 5-7 seconds
      • 100% for 7-10 seconds
      • 200% for 10+ seconds
    • Additionally, added tests to validate the new recovery rates and their behavior under fast recovery mode, ensuring accurate window adjustments based on timing constraints.
  • Replaced last_keepalive_ms field with last_sent (Instant-based) to track all data sends, not just keepalives
  • Added comprehensive bitrate tracking for logging purposes
  • Refactored connection state into organized sub-structs (RttTracker, CongestionControl, BitrateTracker, ReconnectionState)
  • Split large sender.rs and connection.rs files into modular components
  • Integrated mimalloc as the global allocator on non-Windows platforms
  • Updated deprecated rand::thread_rng() to rand::rng()

Full Changelog: v.2.5.0...v2.6.0