Commit Graph

145 Commits

Author SHA1 Message Date
levlam
1139470bba Pass GroupCallParticipants to get_real_participant_order. 2021-03-17 19:56:00 +03:00
levlam
ca6ece6707 Improve getGroupCallStreamSegment. 2021-03-17 14:30:51 +03:00
levlam
2162fd6264 Postpone checkGroupCall after receiving a stream segment. 2021-03-17 03:16:34 +03:00
levlam
582f033a09 Update limit for group call recording titlw length. 2021-03-16 17:20:53 +03:00
levlam
eb7a1286ab Automatically update order of inactive group call participants. 2021-03-15 22:04:11 +03:00
levlam
24535d2aba Support different order of group call participants for administrators. 2021-03-15 19:32:33 +03:00
levlam
b0aa14c031 Improve get_real_participant_order. 2021-03-15 18:58:31 +03:00
levlam
be68cda22f Add class GroupCallParticipantOrder. 2021-03-15 18:32:28 +03:00
levlam
b9f7668b07 Allow to always get self group call participant by user_id. 2021-03-15 02:15:01 +03:00
levlam
42911b9122 Add source to process_group_call_after_join_requests. 2021-03-15 02:03:52 +03:00
levlam
e2ac80f2ba Add td_api::toggleGroupCallParticipantIsHandRaised. 2021-03-15 01:56:59 +03:00
levlam
92b384f3f4 Update group call title length limit. 2021-03-13 02:49:40 +03:00
levlam
9ac71272a3 Support joining group call as a stream listener. 2021-03-12 20:11:44 +03:00
levlam
a833d5e292 Improve method name. 2021-03-12 19:31:52 +03:00
levlam
0ec4c2084e Add td_api::getGroupCallInviteLink. 2021-03-12 19:29:06 +03:00
levlam
73bed3ed80 Add resetGroupCallInviteHash method. 2021-03-12 18:58:43 +03:00
levlam
9bfd98c08d Add joinGroupCall.invite_hash. 2021-03-12 18:36:55 +03:00
levlam
0fb6c52cd4 Support toggling group call recording. 2021-03-11 22:19:19 +03:00
levlam
67889cdcbc Add td_api::getGroupCallStreamSegment. 2021-03-10 22:50:14 +03:00
levlam
62cfe3bdd9 Add td_api::getAvailableVoiceChatAliases. 2021-03-08 20:25:56 +03:00
levlam
f4ce6c9de9 Update bio of group call participants when it is changed. 2021-03-07 13:06:34 +03:00
levlam
caa1db85ab Prevent race in updating of joined voice chat. 2021-03-07 02:21:08 +03:00
levlam
0615d1f61d Prevent voice chat data updating during join. 2021-03-07 01:06:51 +03:00
levlam
c611553ece Allow to join group call as a chat. 2021-03-06 23:21:22 +03:00
levlam
3bac31cc16 Allow to edit chat group call participants. 2021-03-05 16:03:49 +03:00
levlam
a93189dade Support chats as group call participants. 2021-03-05 14:40:54 +03:00
levlam
882d837d24 Add td_api::setGroupCallTitle. 2021-03-02 19:44:57 +03:00
levlam
4b2db994d0 Postpone group call actions till join if possible. 2021-02-16 13:08:58 +03:00
levlam
aa2f645d74 Simplify get_group_call_participant usage. 2021-02-15 18:18:34 +03:00
levlam
5f54e72444 Process toggleGroupCallMuteNewParticipants immediately and sync in background. 2021-02-15 18:12:50 +03:00
levlam
ca64ad144a Immediately send updateGroupCallParticipant when is_muted changes. 2021-02-12 16:48:13 +03:00
levlam
e7a686cc96 Immediately change is_joined state to false after leaveGroupCall. 2021-02-12 16:48:13 +03:00
levlam
9554a42cd3 Add cancel_join_group_call_request function. 2021-02-12 16:48:13 +03:00
levlam
630f0fe6df Always show self in list of group call participants. 2021-02-03 18:58:06 +03:00
levlam
778a45029e Ignore min-updates about unknown group call participants. 2021-02-02 01:29:02 +03:00
levlam
658db2defd Update volume_level locally immediately. 2021-02-02 00:40:40 +03:00
levlam
a29f4b43d4 Load even known group call participant after receiving typing from them. 2021-02-01 03:03:17 +03:00
levlam
a6a6237a3f Split need_group_call_participants into two functions. 2021-01-30 23:52:16 +03:00
levlam
70b4838a21 Rename source to audio_source. 2021-01-11 15:02:02 +03:00
levlam
6bba5a568a Add setGroupCallParticipantVolumeLevel. 2021-01-02 22:59:48 +03:00
levlam
d25edad06d Rewrite searchChatMembers and getSupergroupMembers implementation. 2021-01-25 17:34:45 +03:00
levlam
db3875710b Show recently joined voice chat participants as recent speakers. 2021-01-05 22:48:10 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
865009fffc Include improvements. 2021-01-01 01:52:01 +03:00
levlam
2c8cfc561c Add is_speaking flag for recent speakers. 2020-12-28 14:19:29 +03:00
levlam
1f9d173afb Automatically check whether group call is still joined. 2020-12-28 00:30:27 +03:00
levlam
3589676550 Minor fixes. 2020-12-22 15:51:57 +03:00
levlam
2a50685321 Add separate GroupCallManager::on_update_group_call_rights method. 2020-12-17 18:27:01 +03:00
levlam
e89d353b68 Add groupCall.need_rejoin flag. 2020-12-17 17:49:15 +03:00
levlam
c4d8f301a1 Add groupCallParticipant.can_be_muted/can_be_unmuted flags. 2020-12-17 02:07:05 +03:00
levlam
6ebe28cdac Load group call administrators. 2020-12-16 20:30:52 +03:00
levlam
d165a87b73 Reload group call if rights has changed. 2020-12-16 16:38:06 +03:00
levlam
62dc71cbc5 Add GroupCallManager::update_group_call_dialog method. 2020-12-15 19:20:03 +03:00
levlam
d022dfdb62 Add GroupCallManager::can_manage_group_calls method. 2020-12-15 18:21:02 +03:00
levlam
f95366a219 Leave group call when receive corresponding update. 2020-12-15 17:06:11 +03:00
levlam
25d1fde985 Add source to send_update_group_call. 2020-12-15 16:24:38 +03:00
levlam
1c02363418 Update recent speakers by updateGroupParticipants. 2020-12-15 14:54:47 +03:00
levlam
b4e087a2f0 Remove users from recent speakers when they leave the call. 2020-12-15 14:04:06 +03:00
levlam
c63da4b241 Add group call participants syncronization. 2020-12-15 12:41:26 +03:00
levlam
37a17476c7 Update is_speaking field for speaking group call participants. 2020-12-15 01:42:16 +03:00
levlam
00eed8928c Move voice chat creation to GroupCallManager. 2020-12-13 15:18:33 +03:00
levlam
6fdf68bad4 Store DialogId in information about group call. 2020-12-13 14:52:07 +03:00
levlam
b015ada0dc Resolve group call participant by source in set_group_call_participant_is_speaking. 2020-12-12 15:31:56 +03:00
levlam
84c143580b Process pending group call participant updates after version change. 2020-12-12 15:05:22 +03:00
levlam
7398de2790 Apply group call participant updates in the correct order. 2020-12-12 14:10:37 +03:00
levlam
841ef6dc7f Simplify GroupCallManager::process_group_call_participants_from_updates. 2020-12-12 12:27:43 +03:00
levlam
b78af33192 Update min_order after loaded group call participants. 2020-12-11 23:31:46 +03:00
levlam
d4f3d24142 Split GroupCallManager::process_group_call_participants function. 2020-12-11 23:04:49 +03:00
levlam
4a0c42729b Add td_api::loadGroupCallParticipants. 2020-12-11 19:47:34 +03:00
levlam
76950e710f Support updateGroupCallParticipants updates. 2020-12-11 18:44:03 +03:00
levlam
1fb050a264 Add updateGroupCallParticipant. 2020-12-11 17:43:23 +03:00
levlam
6e3e129b13 Improve group call method and field names. 2020-12-08 18:01:06 +03:00
levlam
a426105129 Get speaking user from the server by source. 2020-12-07 02:56:13 +03:00
levlam
6af2f71ddd Get unknown speaking users from the server by their user_id. 2020-12-07 00:38:23 +03:00
levlam
29e4265b37 Get and update recent speakers in a separate method. 2020-12-06 21:41:56 +03:00
levlam
1d60bf36e6 Add GroupCallManager::send_update_group_call. 2020-12-06 21:22:55 +03:00
levlam
b0806df48f Remove recent speakers by timeout. 2020-12-06 21:18:12 +03:00
levlam
da5132b688 Send recent speaker updates with delay. 2020-12-06 20:07:23 +03:00
levlam
82a2d9262c Add groupCall.is_joined flag. 2020-12-06 14:33:15 +03:00
levlam
91d4b57713 Add recent group call speakers. 2020-12-06 10:40:26 +03:00
levlam
23f1927c07 Improve sending speaking in voice chat typings. 2020-12-04 17:06:37 +03:00
levlam
eb9abbb9ab Save voice chat channel_id. 2020-12-04 12:40:51 +03:00
levlam
49f7a56f11 Save joined group call synchronization source. 2020-12-04 01:56:27 +03:00
levlam
34e05375c1 Add GroupCallId class. 2020-12-03 19:52:50 +03:00
levlam
2da4316a06 Add td_api::getGroupCall. 2020-12-03 02:00:46 +03:00
levlam
eeee625803 Rename createVoiceChat method. 2020-12-03 01:08:20 +03:00
levlam
7f9681313a Update layer 122. 2020-11-29 15:41:03 +03:00
levlam
3e95f8d9cc Add toggleGroupCallMemberIsMuted method. 2020-11-27 17:40:29 +03:00
levlam
1aa5822bf8 Add checkGroupCall method. 2020-11-27 17:07:12 +03:00
levlam
f10db772f5 Add inviteGroupCallMember method. 2020-11-27 15:22:19 +03:00
levlam
1eca39c4ee Add toggleGroupCallMuteNewMembers method. 2020-11-27 01:58:36 +03:00
levlam
de6ac56cf2 Fix GroupCallManager destructor. 2020-11-26 18:02:18 +03:00
levlam
cbca6ca902 Cancel joinGroupCall net query. 2020-11-26 17:33:28 +03:00
levlam
162c06d00a Add joinGroupCall method. 2020-11-26 14:32:29 +03:00
levlam
32295e2b6e Add missing files. 2020-11-26 13:47:20 +03:00