Commit Graph

435 Commits

Author SHA1 Message Date
John Preston aa5e8422bf Fix input device edit in Calls Settings.
Fixes #9930.
2020-12-15 14:23:40 +04:00
John Preston 15620b5c2d Divide speaking status and background noise. 2020-12-15 14:16:44 +04:00
23rd baba7e272d Updated phrase and colors for force muted state in group calls. 2020-12-14 17:58:45 +04:00
23rd bb4be4f3dd Replaced float interpolation with implementation from lib_ui. 2020-12-14 17:09:23 +04:00
23rd 62fe44bde8 Slightly refactored LinearBlob animation in Calls::TopBar. 2020-12-14 17:09:23 +04:00
John Preston 1b624d67b8 Support voice chats in legacy groups, with migration. 2020-12-14 16:52:18 +04:00
John Preston 2b91eedcd4 Update API scheme. 2020-12-13 23:27:51 +04:00
John Preston 7217d14f09 Show speaking animations in voice chat bar. 2020-12-11 18:53:02 +04:00
John Preston 424ba1dbea Track speaking state in non-joined voice chats. 2020-12-11 15:04:34 +04:00
John Preston 4b31b4792a Restore call window from minimized on bar click. 2020-12-11 12:01:55 +04:00
John Preston 092e0990e8 Request mic permission only on unmute. 2020-12-09 17:11:42 +04:00
John Preston 7f7ac64c6d Init top bar blobs geometry safely. 2020-12-09 15:43:54 +04:00
John Preston 9f2903f81d Fix crash in one-on-one calls. 2020-12-09 14:48:07 +04:00
John Preston e523687328 Show bar waves from any member-s level. 2020-12-09 13:08:36 +04:00
John Preston 468597f54d Beta version 2.4.12: Fix Release build on macOS. 2020-12-09 12:40:11 +04:00
23rd 448b6bb905 Added initial implementation of LinearBlob animation to Calls::TopBar. 2020-12-09 11:21:02 +04:00
John Preston 5fe8c0ed7e Show user as active when in call panel. 2020-12-08 21:06:56 +04:00
John Preston d6ab9347c1 Update API scheme, add admin log filter. 2020-12-08 20:05:55 +04:00
John Preston 546881c720 Join other calls with confirmation. 2020-12-08 19:09:13 +04:00
John Preston 529c12ea3a Hide call panel when starting hanging up. 2020-12-08 16:03:59 +04:00
John Preston 49fc066480 Handle GROUPCALL_FORBIDDEN in joinGroupCall. 2020-12-08 13:39:54 +04:00
John Preston a14a62eefa Update API scheme, add group call admin log events. 2020-12-08 12:45:40 +04:00
John Preston dde94d486b Change button round radius. 2020-12-08 11:19:23 +04:00
John Preston a527d5c535 Improve join group call bar style. 2020-12-08 10:44:22 +04:00
John Preston 8b0430a255 Improve group call error messages. 2020-12-07 17:15:34 +04:00
John Preston f11df0519e Add global shortcut permissions check on macOS. 2020-12-07 16:16:03 +04:00
23rd e97140a311 Fixed blob animations in group calls with enabled push-to-talk. 2020-12-06 19:56:42 +03:00
23rd 54567a4253 Replaced Application::appDeactivates with appDeactivatedValue. 2020-12-06 18:36:39 +03:00
John Preston 628a02d99c Hide push to talk release delay option by default. 2020-12-06 19:13:18 +04:00
John Preston bfce832a7a Don't leave call when joining other call from other device. 2020-12-06 18:12:24 +04:00
John Preston 78067fd996 Improve group call window controls on Windows. 2020-12-06 17:53:17 +04:00
John Preston 72a8b92827 Add push-to-talk release delay. 2020-12-06 16:44:20 +04:00
John Preston 80b7858f5e Don't reorder members while menu is shown. 2020-12-06 16:16:11 +04:00
John Preston af4f10b1bb Special mute state for Push-to-Talk unmute. 2020-12-06 14:27:42 +04:00
John Preston 8f11868bb6 Use new global shortcuts interface. 2020-12-06 13:41:00 +04:00
23rd 8b2d75502b Fixed background color in Calls::TopBar for force muted state. 2020-12-05 15:32:41 +03:00
23rd 190b1c9872 Added key filter to calls settings box while shortcut is recording. 2020-12-04 01:28:52 +03:00
23rd d36fad7268 Fixed crash in shortcut editor of push-to-talk. 2020-12-04 01:17:23 +03:00
John Preston d41e93fb1c Add push-to-talk with global shortcut on Windows. 2020-12-03 21:17:15 +03:00
23rd f4dfd738ec Added hiding of Blob animations at animations disabling. 2020-12-03 21:10:08 +03:00
23rd 79d5a49e7c Added hiding of Blob animations at application deactivating. 2020-12-03 19:44:17 +03:00
John Preston 101409d866 Add animations to group call member mute status. 2020-12-02 15:25:30 +03:00
23rd 00e4ef7701 Added cross line animation to mute button in Calls::TopBar. 2020-12-01 20:05:26 +03:00
23rd d0358458ea Added gradient to Calls::TopBar. 2020-12-01 17:28:16 +03:00
John Preston c0af89f465 Show group name in the title. 2020-12-01 17:28:01 +03:00
John Preston 5a324756fd Track call_active flag in channels. 2020-12-01 16:22:07 +03:00
23rd 43ee8a402c Slightly refactored group call members. 2020-12-01 15:34:17 +03:00
John Preston 309b3a6f96 Keep speaking state only for 350ms. 2020-12-01 14:59:09 +03:00
John Preston ef119dadd5 Add bouncing of userpics in group call members. 2020-12-01 14:52:40 +03:00
John Preston 498d6226e3 Add blob animations to group call participants. 2020-12-01 12:06:06 +03:00
23rd 80597e190a Fixed permissions requesting for different call types. 2020-12-01 09:45:24 +03:00
John Preston c53d9c532f Delayed mic init in group call settings. 2020-12-01 09:45:24 +03:00
John Preston 624ee3bf60 Send speaking typing actions. 2020-12-01 09:45:24 +03:00
John Preston 2f7a4730a4 Use new buttons and phrases. 2020-12-01 09:45:24 +03:00
23rd a2191a293e Added colors overriding for call settings button from mute button. 2020-12-01 09:45:24 +03:00
John Preston 5739b70844 Improve group call popup menu styles. 2020-12-01 09:45:24 +03:00
John Preston aeea262b92 Add fake round corners to call members list. 2020-12-01 09:45:23 +03:00
John Preston 53052c6140 Add member menu on click in group call members list. 2020-12-01 09:45:23 +03:00
John Preston 834516d4a7 Improve colors in group call panel. 2020-12-01 09:45:23 +03:00
John Preston 1a2fe59d88 Drag group call panel only by title area. 2020-12-01 09:45:23 +03:00
John Preston d5216a30c7 Forbid anonymous admins joining group calls. 2020-12-01 09:45:23 +03:00
John Preston d773f2c765 Handle call updates only from the correct session. 2020-12-01 09:45:23 +03:00
John Preston d40768f6b0 Use separate styles for group call boxes. 2020-12-01 09:45:23 +03:00
John Preston e66ad89a2a Load unknown participants by source. 2020-12-01 09:45:23 +03:00
John Preston cf8e45ab61 Check joined state if disconnected. 2020-12-01 09:45:23 +03:00
John Preston c42ef54417 Join call instead of creating a new one. 2020-12-01 09:45:23 +03:00
John Preston 5339523824 Add userpics to the active call bar. 2020-12-01 09:45:23 +03:00
John Preston e3a73378e7 Add recent members userpics to group call bar. 2020-12-01 09:45:23 +03:00
John Preston 058199aa0d Track speaking state in participants list. 2020-12-01 09:45:23 +03:00
John Preston 3a5b625d64 Allow inviting members to the group call. 2020-12-01 09:45:23 +03:00
John Preston 9e5006dd67 Add group call settings box. 2020-12-01 09:45:22 +03:00
John Preston abb81c764e Allow discarding group call when leaving. 2020-12-01 09:45:22 +03:00
John Preston 7cfb39ea5d Use new button types from lib_ui. 2020-12-01 09:45:22 +03:00
John Preston bc01a364d0 Reset speaking status by timeout. 2020-12-01 09:45:22 +03:00
John Preston d1c821973a Update speaking status based on audio level. 2020-12-01 09:45:22 +03:00
John Preston b54a2aa40b Apply self mute status locally. 2020-12-01 09:45:22 +03:00
John Preston 7983d33ad5 Add manage_call admin right support. 2020-12-01 09:45:22 +03:00
John Preston d18b29efb8 Track three-state muted value. 2020-12-01 09:45:22 +03:00
John Preston c8dd486410 Update API scheme. 2020-12-01 09:45:22 +03:00
John Preston eb40edae22 Fix group call members list height. 2020-12-01 09:45:22 +03:00
John Preston b8f23bda59 Allow to toggle group call members mute. 2020-12-01 09:45:22 +03:00
John Preston a6b4cdd62d Improve group call members list updating. 2020-12-01 09:45:22 +03:00
John Preston 8618fe41ee Apply new group call from new service message. 2020-12-01 09:45:22 +03:00
John Preston 2ac0a2a10b Send mute state updates in group calls. 2020-12-01 09:45:22 +03:00
John Preston ec5aeb32f1 Add title to group call panel. 2020-12-01 09:45:22 +03:00
John Preston 858ee0e8c4 Update API scheme. 2020-12-01 09:45:22 +03:00
John Preston 2e62eb1186 Start group call members list. 2020-12-01 09:45:22 +03:00
John Preston 41591ff2e9 Add group calls top bar. 2020-12-01 09:45:21 +03:00
John Preston 8833d3e45b Add empty group call panel. 2020-12-01 09:45:21 +03:00
John Preston 25f3c14780 Apply group call updates. 2020-12-01 09:45:21 +03:00
John Preston 33941ad1b9 Start group call bar in HistoryWidget. 2020-12-01 09:45:21 +03:00
John Preston 74d2313784 Build Linux version with Qt 5.15.1 in CentOS 7 docker. 2020-11-06 11:21:34 +03:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
John Preston cc28ba4284 Update API scheme to layer 120. 2020-10-30 18:32:17 +03:00
John Preston 454fe8cdf7 Fix crash in calls box. 2020-10-01 17:52:02 +03:00
John Preston 719bed6e85 Move some text formatting to tg_ui:ui/text/format_values. 2020-09-30 16:29:17 +03:00
John Preston 00cdae0369 Implement replies list request. 2020-09-29 19:03:18 +03:00
John Preston 0888901d79 Try using progressive jpeg photo size. 2020-09-29 19:03:18 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston 49c230b898 Update API scheme to layer 118. 2020-09-29 19:03:18 +03:00
John Preston 21c578cf2e Add some error reporting about camera problems. 2020-08-21 17:52:13 +04:00
John Preston 4d2041ae48 Share video capturer between call and settings. 2020-08-21 17:52:13 +04:00
John Preston 4672e3d068 Improve calls settings (camera / microphone). 2020-08-21 17:52:13 +04:00
John Preston ade7745b0b Fix controls shadows on call panel. 2020-08-21 17:52:13 +04:00
John Preston aa87d627c9 Allow to choose camera device in Settings. 2020-08-21 17:52:13 +04:00
John Preston e782e065a0 Use audio device enumeration from lib_webrtc. 2020-08-21 17:52:12 +04:00
John Preston f36240eb38 Check for at least one camera existance. 2020-08-21 17:52:12 +04:00
23rd 3d8b691ff9 Added video icon in call row in calls box. 2020-08-18 12:48:26 +03:00
John Preston fe97939abf Fix possible crash in call error handling. 2020-08-17 13:50:16 +04:00
John Preston 8ce798db12 Move incoming video to a separate widget. 2020-08-17 13:49:45 +04:00
John Preston 887b6629f6 Version 2.3: Fix emoji fingerprint on Retina. 2020-08-15 00:02:26 +04:00
John Preston a0eb073728 Close call panel instead of hiding. 2020-08-14 19:59:24 +04:00
John Preston 34840766b2 Move fingerprint / signal bars to a separate widget. 2020-08-14 16:53:06 +04:00
John Preston 1aaf7df54a Add labels to call buttons. 2020-08-14 16:53:06 +04:00
John Preston 1b60829da8 Add top window controls shadow. 2020-08-14 16:53:06 +04:00
John Preston fbe02dbb8d Add bottom shadow to the incoming video. 2020-08-14 16:53:06 +04:00
John Preston cb18c9a9b3 Show remote audio muted tooltip. 2020-08-14 16:53:06 +04:00
John Preston a106d80a41 Fix accept call button outer ripple. 2020-08-14 16:53:06 +04:00
John Preston 465c661c45 Show peer-s microphone mute state on userpic. 2020-08-14 16:53:06 +04:00
John Preston 8af40c22a4 Improve mute button styles. 2020-08-14 16:53:06 +04:00
John Preston f1b6d1fdae Improve top controls design on Windows. 2020-08-14 16:53:06 +04:00
John Preston 377ff2f421 Use expanding incoming frame scale if aspect is good. 2020-08-13 15:37:00 +04:00
John Preston cdc87086f3 Add some paddings. 2020-08-13 15:16:39 +04:00
John Preston 99f3173ae6 Use smaller emoji. 2020-08-13 14:39:55 +04:00
John Preston 7de5cabd79 Add window controls to call panel on Windows. 2020-08-13 14:32:11 +04:00
John Preston 925f6df06a Fix call panel behaviour on macOS. 2020-08-13 13:02:15 +04:00
John Preston c93d3ae924 Toggle fullscreen by double click. 2020-08-12 20:58:24 +04:00
John Preston 537645c282 Hide window title for calls panel. 2020-08-12 20:58:05 +04:00
John Preston 38b9111bf5 Use Ui::Window for the Calls::Panel. 2020-08-12 17:35:31 +04:00
John Preston 97fe05c7ed Mirror outgoing video horizontally. 2020-08-12 12:47:07 +04:00
John Preston 369ec46064 Allow building without WebRTC. 2020-08-11 21:33:15 +04:00
John Preston eda22b925f Fix build on Linux 64 bit. 2020-08-11 18:21:40 +04:00
John Preston 38546c701a Round outgoing video preview. 2020-08-11 18:21:40 +04:00
John Preston 4971e281fa Improve design for all controls states. 2020-08-11 18:21:40 +04:00
John Preston d4b8fa70a7 Extract Calls::Userpic and Calls::VideoBubble. 2020-08-11 18:21:40 +04:00
John Preston 95de762529 Support three-value VideoState. 2020-08-11 18:21:40 +04:00
John Preston a89634b767 Start call panel redesign. 2020-08-11 18:21:40 +04:00
John Preston 4bf6550e24 Update API scheme to layer 117. 2020-08-11 18:21:40 +04:00
John Preston 83759adb5f Start video call from video call service message. 2020-08-11 18:21:40 +04:00
John Preston 6f90e57523 Support special video calls service messages. 2020-08-11 18:21:40 +04:00
John Preston aba8f72c36 Fix camera start. 2020-08-11 18:21:40 +04:00
John Preston 35dfb9fab3 Show outgoing video stream. 2020-08-11 18:21:40 +04:00
John Preston b692242012 Allow reference tgcalls implementation. 2020-08-11 18:21:40 +04:00
John Preston c1f727bde9 Update tgcalls to use new protocol. 2020-08-11 18:21:40 +04:00
John Preston f3808bdc24 Start using webrtc::VideoTrack. 2020-08-11 18:21:40 +04:00
John Preston da3bbba497 Allow enable/disable video in a call. 2020-08-11 18:21:40 +04:00
John Preston 78c9c1e7f8 Update tgcalls library. 2020-08-11 18:21:40 +04:00
John Preston 46550381a4 Fix build on macOS. 2020-08-11 18:21:40 +04:00
John Preston 815300bffc Fix video between tdesktop instances. 2020-08-11 18:21:40 +04:00
John Preston 12e0399cf4 Add tgcalls library. 2020-08-11 18:21:40 +04:00