Skip to content

Commit

Permalink
Fix engine mixer idle timeout (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoMDomingues committed Dec 15, 2023
1 parent 994e060 commit 7598da7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridge/engine/EngineMixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ EngineMixer::EngineMixer(const std::string& id,

EngineMixer::~EngineMixer() {}

bool EngineMixer::isIdle(const uint16_t timestamp) const
bool EngineMixer::isIdle(const uint64_t timestamp) const
{
if (!utils::Time::diffGE(_lastReceiveTimeOnRegularTransports,
timestamp,
Expand Down
2 changes: 1 addition & 1 deletion bridge/engine/EngineMixer.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ class EngineMixer : public transport::DataReceiver
uint64_t _lastRecordingAckProcessed;
bool _slidesPresent;

bool isIdle(uint16_t timestamp) const;
bool isIdle(uint64_t timestamp) const;

uint32_t getMinRemoteClientDownlinkBandwidth() const;
void reportMinRemoteClientDownlinkBandwidthToBarbells(const uint32_t minUplinkEstimate) const;
Expand Down

0 comments on commit 7598da7

Please sign in to comment.