Commit Graph

313 Commits

Author SHA1 Message Date
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
levlam
3e351a0946 Use getGroupCall to sync participants. 2021-07-09 18:36:35 +03:00
levlam
04435b8d53 Update layer 131. 2021-07-09 02:55:23 +03:00
levlam
1464e85a5b Move can_enable_video to groupCall. 2021-07-08 19:59:16 +03:00
levlam
ff153bef36 Update layer 131. Add screen_sharing_audio_source_id. 2021-07-06 02:33:42 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
ebbc929efb Fix video pausing. 2021-06-22 19:39:21 +03:00