Commit Graph

149 Commits

Author SHA1 Message Date
Andrea Cavalli
98244d1346 Merge remote-tracking branch 'td/master' 2021-10-20 02:21:14 +02:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
Andrea Cavalli
45e855f89d Remove most memory related features
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
a20e8b6db3 Merge remote-tracking branch 'td/master' 2021-09-04 16:03:33 +02: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
Andrea Cavalli
3dde04b17f Merge remote-tracking branch 'td/master' 2021-07-17 11:15:40 +02: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
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
Andrea Cavalli
c41ec7df43 Merge remote-tracking branch 'td/master' 2021-06-30 13:31:50 +02:00
levlam
843df9e1f7 Remove unneeded td_api::getGroupCallMediaChannelDescriptions. 2021-06-17 21:37:39 +03:00
levlam
06409d68f5 Update order of group call participants after min_order is decreased. 2021-06-06 03:22:43 +03:00
levlam
63fd974e35 Add setGroupCallScreenSharingIsPaused. 2021-06-02 00:38:08 +03:00
levlam
b074bce314 Add is_my_video_paused. 2021-06-01 20:11:18 +03:00
Andrea Cavalli
40048f12ca Merge 2021-05-04 22:17:39 +02:00
levlam
138bf15dec Add getGroupCallMediaChannelDescriptions method. 2021-05-03 21:44:21 +03:00
levlam
8485867fe0 Add toggleGroupCallIsMyVideoEnabled. 2021-05-02 02:40:22 +03:00
levlam
8e0f14bc93 Allow to join group call with enabled/disabled video. 2021-05-01 21:13:51 +03:00
levlam
31c36aaa7a Add td_api::endGroupCallScreenSharing. 2021-04-30 20:21:07 +03:00
levlam
2225e56906 Add startGroupCallScreenSharing. 2021-04-30 19:53:39 +03:00
levlam
6e7c53eb74 Remove legacy groupCall payload types. 2021-04-30 17:49:00 +03:00
levlam
d8b905a986 Update layer to 129. 2021-04-30 17:07:01 +03:00
Andrea Cavalli
799d106c49 Merge remote-tracking branch 'td/master' 2021-04-10 19:44:10 +02:00
levlam
a54fa0909b Improve updates on group call leaving. 2021-04-09 18:50:07 +03:00
levlam
37cee0d823 Add td_api::setVoiceChatDefaultParticipant. 2021-04-07 16:25:29 +03:00
levlam
10bc074a1e Support subscription to group call start notification. 2021-04-07 03:04:56 +03:00
levlam
a7c34c5c49 Add td_api::startScheduledGroupCall. 2021-04-07 02:11:14 +03:00
levlam
2241058f85 Allow to create scheduled voice chats. 2021-04-06 02:54:55 +03:00
levlam
02fe7e47e6 Allow to specify title of created voice chats. 2021-04-06 02:13:57 +03:00
levlam
47066bbffb Take into account raised hands when sorting group call participants for non-muted users. 2021-04-06 01:48:41 +03:00
levlam
2c154f5e4a Add source to send_update_group_call_participant. 2021-04-05 22:39:38 +03:00
levlam
09859193b1 Add source to on_group_call_left_impl. 2021-04-05 00:33:21 +03:00
Andrea Cavalli
0c653e2526 Merge commit 'fbc7e5a7f845d6c8df12b11f5b9a5c9ffc6eea0e' 2021-03-28 12:57:26 +02:00
levlam
b84318fed4 Minor improvements. 2021-03-27 05:19:22 +03:00
Andrea Cavalli
78291a96d4 Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d' 2021-03-21 01:04:45 +01:00
levlam
78f5b24f35 Synchronize group call participant_count with known number of participants. 2021-03-19 04:02:53 +03:00
levlam
cebcdbd88b Automatically call update_group_call_dialog in set_group_call_participant_count. 2021-03-19 03:30:39 +03:00
levlam
6656cd29f9 Add version to GroupCallParticipant. 2021-03-19 02:44:20 +03:00
levlam
ea5a7bade7 Add set_group_call_participant_count method. 2021-03-19 00:18:55 +03:00
levlam
110a68c764 Try to get information about min-participants from server. 2021-03-18 22:36:59 +03:00
levlam
fee3ca166b Apply prepended my_participant. 2021-03-18 22:03:14 +03:00
levlam
b833d23e41 Support ascending by joined_date sort of group call participants. 2021-03-18 02:36:31 +03:00
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