Commit Graph

142 Commits

Author SHA1 Message Date
John Preston f918c6bb83 Pass QWindow to PowerSaveBlocker. 2022-02-04 09:43:56 +03:00
John Preston 9c01295521 Create PowerSaveBlocker-s on calls / video / audio. 2022-02-02 12:05:33 +03:00
23rd 69dc6c98ce Removed unused MTPBool from callbacks on done. 2021-11-30 17:37:39 +04:00
23rd 3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston bf18907fe6 Fix video in calls working on tgcalls v2 implementation. 2021-11-26 18:00:18 +04:00
John Preston dbf673f674 Build new tgcalls with C++20 on Windows. 2021-11-26 18:00:17 +04:00
23rd b5d9947408 Slightly improved code style in Calls:Call. 2021-10-29 16:10:07 +04:00
23rd 78f0cf908e Moved RateCallBox to td_ui. 2021-10-29 16:10:07 +04:00
John Preston 57345cec3b Discard incoming calls by ring_timeout (1.5 minutes). 2021-10-25 09:43:12 +04:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston 8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
Ilya Fedin 97262a99c7 Get rid of osx and linux32 special targets 2021-08-11 16:59:27 +03:00
John Preston 91ef6f13c8 Use good bitrate for screen capture in calls. 2021-08-10 15:46:18 +03:00
John Preston c100055fac Allow sharing screen or window in one-on-one calls. 2021-07-30 00:40:25 +03:00
23rd 6d08542afa Moved proxy global variables from facades to core settings. 2021-06-16 09:31:32 +03:00
John Preston c93ddf6aac Separate Call/GroupCall delegates and Instance. 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 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
Ilya Fedin 6b68d001ae Get rid of deprecated ranges::action 2021-03-15 11:41:29 +03:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00
Ilya Fedin c4dcf064d5 Avoid multiple .arg usage as suggested by clazy 2021-03-13 19:08:33 +03:00
John Preston d624e2ef65 Fix build on macOS and Linux. 2021-03-12 19:21:35 +04:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
Nicholas Guriev 153c949a88 Clean up DESKTOP_APP_DISABLE_WEBRTC_INTEGRATION 2021-02-04 17:39:33 +04:00
23rd d4bbbdb65c Replaced rand_value util function with openssl::RandomValue. 2021-01-24 10:41:10 +03:00
John Preston e11efe483e Add ability to choose calls audio backend. 2021-01-07 19:27:11 +04:00
John Preston b23e4fa491 Use OpenAL recording backend for calls on Windows. 2021-01-05 21:15:19 +04:00
John Preston 1951b7a8a1 Fix possible infinite recursion in video calls. 2020-12-24 14:38:46 +04:00
John Preston c5ad7c7c89 Add start/end/reconnecting sounds to voice chats. 2020-12-18 12:44:19 +04:00
John Preston 546881c720 Join other calls with confirmation. 2020-12-08 19:09:13 +04:00
23rd 80597e190a Fixed permissions requesting for different call types. 2020-12-01 09:45:24 +03:00
John Preston 8618fe41ee Apply new group call from new service message. 2020-12-01 09:45:22 +03:00
John Preston 33941ad1b9 Start group call bar in HistoryWidget. 2020-12-01 09:45:21 +03:00
John Preston 0888901d79 Try using progressive jpeg photo size. 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 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 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
John Preston fe97939abf Fix possible crash in call error handling. 2020-08-17 13:50:16 +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 95de762529 Support three-value VideoState. 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