Commit Graph

320 Commits

Author SHA1 Message Date
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
12d852abc5 Check for close_flag as early as possible. 2022-08-10 13:57:41 +03:00
levlam
38b56792cd Reload group call if number of members became negative. 2022-05-26 15:32:15 +03:00
levlam
6f8b513597 Improve log message. 2022-05-12 15:18:07 +03:00
levlam
35a0a7c383 Ignore empty next_offset in group calls with new participants added to the end of the list. 2022-05-10 21:48:06 +03:00
levlam
f972b3ad56 Add separate function for server group call participant order calculation. 2022-05-10 21:37:10 +03:00
levlam
661c75fa42 Log number of group call updates to be processed. 2022-05-10 21:02:03 +03:00
levlam
c72ad76b31 Clear used promise just in case. 2022-04-14 10:55:22 +03:00
levlam
163e739302 Add set_promises/fail_promises helper functions. 2022-04-13 17:40:12 +03:00
levlam
26c18680f2 Move DialogParticipantFilter to separate header. 2022-03-19 21:37:46 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
017949d861 Improve sending and response handling for GetGroupCallStreamChannelsQuery. 2022-03-01 03:12:56 +03:00
levlam
84af0e176f Add groupCall.has_hidden_listeners. 2022-03-01 02:33:14 +03:00
levlam
37ccac3867 Add methods for managing an RTMP URL for a video chat. 2022-02-25 17:58:03 +03:00
levlam
54b143e91d Add groupCall.is_rtmp_stream. 2022-02-22 21:16:10 +03:00
levlam
8772984a69 Add td_api::getGroupCallStreams. 2022-02-22 17:42:58 +03:00
levlam
719bdb1e08 Allow to create RTMP video chats. 2022-02-22 16:37:11 +03:00
levlam
2bdd0d0c9a Update layer to 139. 2022-02-18 15:40:34 +03:00
levlam
e64811ba31 Store unique_ptr instead of a big class in a FlatHashMap. 2022-02-11 18:26:43 +03:00
levlam
2b1314295d Check and fix half of FlatHashMap usages. 2022-02-10 00:59:52 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
Arseny Smirnov
ad38f712e8 SequenceDispatcher: hide usage into NetQueryDispatcher 2022-02-01 18:51:36 +03:00
levlam
4e4d7c1e83 Fix inputGroupCallStream flags. 2022-01-27 01:59:36 +03:00
levlam
06a67030a0 Use reload_dialog_info_full instead of get_dialog_info_full to guarantee that the data will be reloaded. 2022-01-19 14:37:07 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
b060536ae3 Return Result<...> from get_input_user. 2021-12-16 22:46:03 +03:00
levlam
1a291847d7 Improve get_message_sender_dialog_id. 2021-11-15 13:31:07 +03:00
levlam
21c8c752be Add get_message_sender_dialog_ids. 2021-11-15 12:52:40 +03:00
levlam
a56c34c4dd Move get_message_sender_object to MessageSender.cpp. 2021-11-15 01:18:47 +03:00
levlam
6238f0fc89 Minor improvements. 2021-11-10 21:09:28 +03:00
levlam
5a02af8c72 Use const reference if range-based for if appropriate. 2021-11-10 20:39:35 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
05b59cc63b Improve DialogParticipant field names. 2021-10-29 14:39:07 +03:00
levlam
d06aa6535d Make DialogParticipantsFilter fields private. 2021-10-23 23:41:13 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
9b7957c9c6 Minor warning fixes. 2021-10-17 13:07:20 +03:00
levlam
328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
levlam
cdb06da112 Add "; pass null" annotations for expected to be null request parameters. 2021-09-28 17:31:00 +03:00
levlam
2ec2e4d78f Use "set"/"toogle" instead of "change". 2021-09-24 10:42:39 +03:00
levlam
2b980ec215 Remove default source from have_dialog_force. 2021-09-01 19:41:00 +03:00
levlam
1e663dea46 Add group_call.is_video_recorded. 2021-08-24 17:49:08 +03:00
levlam
b56119951b Support video streaming in group calls. 2021-08-23 16:59:00 +03:00
levlam
2045c131a9 Support video recording in group calls. 2021-08-23 15:29:03 +03:00
levlam
84be6f4485 Update layer to 132. 2021-08-12 21:15:08 +03:00
levlam
0dc42e4410 Add source to get_message_sender_object. 2021-08-03 01:58:02 +03:00
levlam
fa792176cd Use local unmuted video count if possible. 2021-07-13 03:14:48 +03:00
levlam
5b3ddfcfc1 Use add_group_call_participants if possible. 2021-07-12 21:17:37 +03:00
levlam
b83b3a45cb Send updates when groupCall.can_enable_video changes. 2021-07-12 20:21:34 +03:00