diff --git a/rust/Cargo.toml b/rust/Cargo.toml index dfe24df98a..8b8e3291d5 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -65,8 +65,8 @@ features = ["serde", "v4"] version = "0.8.2" [dev-dependencies] -actix = "0.12.0" -actix-web-actors = "4.0.0-beta.11" +actix = "0.13.0" +actix-web-actors = "4.1.0" async-io = "1.6.0" criterion = "0.3.5" env_logger = "0.9.0" @@ -74,7 +74,7 @@ env_logger = "0.9.0" [dev-dependencies.actix-web] default-features = false features = ["macros"] -version = "4.0.0-rc.3" +version = "4.0.1" [[bench]] name = "direct_data" diff --git a/worker/include/RTC/RateCalculator.hpp b/worker/include/RTC/RateCalculator.hpp index 7ba42e340c..d4e974e740 100644 --- a/worker/include/RTC/RateCalculator.hpp +++ b/worker/include/RTC/RateCalculator.hpp @@ -39,6 +39,7 @@ namespace RTC { std::memset( static_cast(&this->buffer.front()), 0, sizeof(BufferItem) * this->buffer.size()); + this->newestItemStartTime = 0u; this->newestItemIndex = -1; this->oldestItemStartTime = 0u;