Commit Graph

9156 Commits

Author SHA1 Message Date
John Preston 412cfb24d2 Stop video when rejoining-as, handle errors. 2021-05-24 22:45:15 +04:00
John Preston 2a5977e97f Support enlarge / minimize of video. 2021-05-24 22:45:15 +04:00
John Preston 64c34b7029 Hide controls in wide video mode. 2021-05-24 22:45:15 +04:00
John Preston 0db0abe608 Use LargeVideo in the default mode. 2021-05-24 22:45:15 +04:00
John Preston 5f4903a279 Show controls in the middle of wide video. 2021-05-24 22:45:14 +04:00
John Preston 20ff79abf4 Fix camera / screen self track activation. 2021-05-24 22:45:14 +04:00
John Preston 3a321d64f6 Switch between videos by left click. 2021-05-24 22:45:14 +04:00
John Preston 7e8d1f7974 Toggle video pin from LargeVideo. 2021-05-24 22:45:14 +04:00
John Preston 9f41461209 Load .dll symbols in a similar way. 2021-05-24 22:45:14 +04:00
John Preston 6b10045b7b Enable screen sharing on Linux. 2021-05-24 22:45:14 +04:00
John Preston 9ca6d0d893 Build tg_owt with desktop_capture support. 2021-05-24 22:45:14 +04:00
John Preston 2830049a53 Add support for DirectX desktop capturer backend. 2021-05-24 22:45:14 +04:00
John Preston 50558de591 Show name and information on wide large video. 2021-05-24 22:45:14 +04:00
John Preston 80e3e8a01e Extract MembersRow from calls_group_members module. 2021-05-24 22:45:14 +04:00
John Preston d38780c94d Add shadow under name over video. 2021-05-24 22:45:14 +04:00
John Preston 801435e57c Show participant names in narrow column. 2021-05-24 22:45:14 +04:00
John Preston 8001efe6ab Track peer together with video endpoint. 2021-05-24 22:45:14 +04:00
John Preston 909a3cef9b Create a new Instance for each screencast. 2021-05-24 22:45:14 +04:00
John Preston 9ac510a1ad Fix title of wide mode video chat. 2021-05-24 22:45:14 +04:00
John Preston 00ce302b38 Improve narrow participants column design. 2021-05-24 22:45:14 +04:00
John Preston 0dcc7a05f7 Fix crash in pinned video switching. 2021-05-24 22:45:14 +04:00
John Preston 54c2769d8a Improve voice /video chat members management. 2021-05-24 22:45:14 +04:00
John Preston 2e400d88d3 Fix creating group calls. 2021-05-24 22:45:14 +04:00
John Preston d9aa660253 Handle members slice loaded. 2021-05-24 22:45:14 +04:00
John Preston ba1dade4b0 New API/tgcalls with two outgoing videos. 2021-05-24 22:45:14 +04:00
John Preston a48649987e Improve screencast source choosing design. 2021-05-24 22:45:14 +04:00
John Preston 022c0a1327 Update tgcalls library. 2021-05-24 22:45:14 +04:00
John Preston 69ceed5bbc Update API scheme to layer 129. 2021-05-24 22:45:14 +04:00
John Preston b3fcb4ef36 Allow 'mute for me' of muted by admin participants. 2021-05-24 22:45:14 +04:00
John Preston 8342b2d275 Fix bug with video_muted flag. 2021-05-24 22:45:14 +04:00
John Preston 36888f844f Disable (crashing) capturer on Linux. 2021-05-24 22:45:14 +04:00
John Preston 75f220c3d9 Fix build for Linux. 2021-05-24 22:45:14 +04:00
John Preston 1a784fc678 Track video_muted from API. 2021-05-24 22:45:14 +04:00
John Preston dac9017df1 Improve video chat controls layout. 2021-05-24 22:45:14 +04:00
John Preston 7b3b5a1463 Use 'Screencast' video content type. 2021-05-24 22:45:14 +04:00
John Preston b7fc3f67d7 Add toggle video and screen sharing buttons. 2021-05-24 22:45:13 +04:00
John Preston e0bfaad3a2 Make style of mute button customizable. 2021-05-24 22:45:13 +04:00
John Preston 24c77a8956 Fix build on macOS. 2021-05-24 22:45:13 +04:00
John Preston 380a0d1f86 Improve wide video layout. 2021-05-24 22:45:13 +04:00
John Preston b7f6fc9a2d Update API scheme. 2021-05-24 22:45:13 +04:00
John Preston e12fe974b2 Add pinned video in wide mode. 2021-05-24 22:45:13 +04:00
John Preston b15623d435 Allow pinning video to top of members list. 2021-05-24 22:45:13 +04:00
John Preston eb8f709943 Show members list in PanelMode::Wide. 2021-05-24 22:45:13 +04:00
John Preston c93ddf6aac Separate Call/GroupCall delegates and Instance. 2021-05-24 22:45:13 +04:00
John Preston 6e34360f7e Move some group call modules. 2021-05-24 22:45:13 +04:00
John Preston c9d07cd0f8 Proof-of-concept desktop capture source picker. 2021-05-24 22:45:13 +04:00
John Preston 9ff6b57b94 Use common desktop_capturer code on Windows. 2021-05-24 22:45:13 +04:00
John Preston fb49b0ca27 Add proof-of-concept screen sharing on macOS. 2021-05-24 22:45:13 +04:00
John Preston fef1f80570 Disable video preview in Settings when in group call. 2021-05-24 22:45:13 +04:00
John Preston 38cb1b195d Add proof-of-concept screen sharing on Windows. 2021-05-24 22:45:13 +04:00
John Preston ebdbe4a8d6 Show video instead of userpics in members list. 2021-05-24 22:45:13 +04:00
John Preston ba02a5c46a Resolve video chat participants by unknown ssrcs. 2021-05-24 22:45:13 +04:00
John Preston a6f379a17a Parse and serialize video parameters. 2021-05-24 22:45:13 +04:00
John Preston a41b7b62ac Build and link rnnoise on Windows. 2021-05-24 22:45:13 +04:00
Ilya Fedin 5010c9033b Specify buildtype for meson 2021-05-22 17:31:26 +03:00
Ilya Fedin e0d6faf45b Fix build with LTO 2021-05-19 12:26:07 +03:00
John Preston fbe4e3f0ec Fix build with mallocng. 2021-05-17 13:38:28 +04:00
John Preston 8e02c50f7d Fix build on Linux. 2021-05-17 13:07:39 +04:00
Ilya Fedin 837485974a Use mallocng on Linux 2021-05-17 10:35:18 +03:00
Ilya Fedin 3cf739eca9 Use event filter to get surface expose event 2021-05-17 10:00:01 +03:00
Ilya Fedin cfee688feb Replace call_delayed with InvokeQueued in MainWindow::handleVisibleChanged 2021-05-17 10:00:01 +03:00
Ilya Fedin 30d8894c30 Use nodiscard in WaylandIntegration 2021-05-17 10:00:01 +03:00
Ilya Fedin 0b86feeeb5 Implement appmenu on Wayland with org_kde_kwin_appmenu protocol 2021-05-17 10:00:01 +03:00
Ilya Fedin 434ef34378 Implement taskbar icon hidding on Wayland with org_kde_plasma_shell protocol 2021-05-17 10:00:01 +03:00
Ilya Fedin 166c28c215 Get rid of default_delete 2021-05-17 10:00:01 +03:00
Ilya Fedin 17c514e851 Use surface as XdgExporter parent 2021-05-17 10:00:01 +03:00
Ilya Fedin f7489592d6 Fix BIO_new_mem_buf leaks 2021-05-17 09:53:02 +03:00
John Preston a8807bc915 Fix voice recoding with FFmpeg 4.4.
Fixes #16217.
2021-05-13 15:36:27 +04:00
John Preston 71deaa48af Don't crash on voice recording error.
Fixes #16217.
2021-05-13 15:36:24 +04:00
John Preston e7ca35a276 Fix possible deadlock in debug logs. 2021-05-13 15:36:08 +04:00
John Preston 2d8f43bd8c Fix text color for crash report window. 2021-05-13 15:35:36 +04:00
John Preston 383acf0ffc Fix crash in native notifications on Linux. 2021-05-12 12:10:55 +04:00
c0re100 ee156fc6a8 Add "Archive Sticker" into Sticker Box 3dots menu 2021-05-11 10:54:25 +03:00
Ilya Fedin 680a9a7ca7 Implement parent setting for portal and gtk dialogs on Wayland via xdg-foreign-v2 2021-05-11 10:53:32 +03:00
Ilya Fedin 7de8d6f9ac Fix resetting of available geometry fix in some cases 2021-05-11 10:43:04 +03:00
John Preston 0cb32181c5 Handle small SLOWMODE_WAIT as FLOOD_WAIT. 2021-05-10 16:44:28 +04:00
Ilya Fedin 95b4435396 Resubscribe to signal when running with old xdg-desktop-portal 2021-05-07 18:32:02 +03:00
John Preston f1a9884011 Beta version 2.7.5.
- Add "Voice chats" filter in "Recent actions" for channels.
- Write local drafts to disk on a background thread.
- Support autoupdate for Telegram in write-protected folders on Linux.
- Fix crash in native notifications on Linux.
- Fix crash in file dialog on Linux.
2021-05-04 00:27:59 +04:00
John Preston 691dcb8ae1 Fix build on macOS and Linux. 2021-05-04 00:02:24 +04:00
John Preston db6b571f60 Add voice chat admin event log filter in channels. 2021-05-03 23:05:58 +04:00
John Preston 5ce1b00291 Fix build on Windows #2. 2021-05-03 23:05:22 +04:00
John Preston 8332ba8450 Fix build on Windows. 2021-05-03 21:39:50 +04:00
John Preston b1c4524612 Fix crash dump generation on Linux. 2021-05-03 17:34:33 +04:00
Ilya Fedin 9a857659ce Check action type before launching new version 2021-05-03 14:53:21 +03:00
Ilya Fedin 68dc00be27 Move weak_ptr include to .cpp in linux notifications 2021-05-03 14:39:24 +03:00
Ilya Fedin ee00f12131 Launch new version directly in write-protected mode 2021-05-03 14:39:24 +03:00
John Preston 7444f17c4e Use sendfile only on Linux. 2021-05-03 14:59:24 +04:00
Ilya Fedin 99e70f7783 Build Qt with libproxy 2021-05-03 13:03:54 +03:00
Ilya Fedin 578833446d Add support for write-protected update on Linux 2021-05-03 12:54:08 +03:00
John Preston 4fae827f1e Use a separate string for voice chat ending in groups. 2021-05-03 13:23:28 +04:00
John Preston 98180d3a9e Always guard and send on_main in native notifications. 2021-05-03 13:08:50 +04:00
John Preston 434a4af9ef Fix sendfile() arguments. 2021-05-03 12:43:36 +04:00
John Preston 298215542e Fix legacy-style connect in Intro. 2021-05-03 12:29:21 +04:00
John Preston 197b3c1cb5 Push all QSaveFile-s to background thread. 2021-05-03 12:27:45 +04:00
John Preston 3cad89f299 Fix build, add logs for sendfile(). 2021-05-03 11:21:38 +04:00
Ilya Fedin 99b9a46428 Update lib_base 2021-05-03 10:20:26 +03:00
Ilya Fedin 56a5363eb9 Move keyPressed out of GSDMediaKeys::Private 2021-05-03 10:20:26 +03:00
Ilya Fedin b1c95d719a Use crl::guard in XDPFileDialog 2021-05-03 10:20:26 +03:00
Ilya Fedin d87ea056c6 Fix a crash in NotificationData::show 2021-05-03 10:20:26 +03:00
Ilya Fedin 34534a9653 Use kernel accelerated sendfile to copy files on Linux 2021-05-03 09:59:58 +03:00