Keep speaking state only for 350ms.

This commit is contained in:
John Preston 2020-12-01 14:59:09 +03:00
parent ef119dadd5
commit 309b3a6f96
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ namespace Calls {
namespace {
constexpr auto kMaxInvitePerSlice = 10;
constexpr auto kCheckLastSpokeInterval = 3 * crl::time(1000);
constexpr auto kCheckLastSpokeInterval = crl::time(1000);
constexpr auto kCheckJoinedTimeout = 4 * crl::time(1000);
constexpr auto kUpdateSendActionEach = crl::time(500);

View file

@ -37,7 +37,7 @@ public:
std::optional<Participant> now;
};
static constexpr auto kSpeakStatusKeptFor = crl::time(1000);
static constexpr auto kSpeakStatusKeptFor = crl::time(350);
[[nodiscard]] auto participants() const
-> const std::vector<Participant> &;