2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Added ability to start video recording in group calls.

This commit is contained in:
23rd
2021-09-07 14:33:20 +03:00
committed by John Preston
parent 19611d5b26
commit cd59ba6629
16 changed files with 593 additions and 95 deletions

View File

@@ -98,6 +98,9 @@ public:
[[nodiscard]] int unmutedVideoLimit() const {
return _unmutedVideoLimit.current();
}
[[nodiscard]] bool recordVideo() const {
return _recordVideo.current();
}
void setPeer(not_null<PeerData*> peer);
@@ -214,6 +217,7 @@ private:
int _serverParticipantsCount = 0;
rpl::variable<int> _fullCount = 0;
rpl::variable<int> _unmutedVideoLimit = 0;
rpl::variable<bool> _recordVideo = 0;
rpl::variable<TimeId> _recordStartDate = 0;
rpl::variable<TimeId> _scheduleDate = 0;
rpl::variable<bool> _scheduleStartSubscribed = false;