mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Keep speaking state only for 350ms.
This commit is contained in:
parent
ef119dadd5
commit
309b3a6f96
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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> &;
|
||||
|
|
Loading…
Add table
Reference in a new issue