Commit Graph

52 Commits

Author SHA1 Message Date
Stefan Ceriu 02c449275c Voice messages - Updated recorded audio file name. 2021-08-03 14:59:44 +03:00
Stefan Ceriu fc459766a0 Voice messages - Increased recording state microphone icon size. 2021-08-03 14:59:44 +03:00
Stefan Ceriu 5db1b825fa #4641 - Voice messages - always access local cache manager state from the internal work queue. 2021-08-03 14:59:44 +03:00
Gil Eluard f6874da977 Slide to lock should be more generous #4602
- Distance needed to enter lock mode reduced
2021-07-27 14:55:06 +02:00
Gil Eluard 2b2fe0c6bd Tapping on waveform in composer glitches UI #4603
- Fixed
2021-07-26 22:19:04 +02:00
Gil Eluard 9e8cc25f82 Tap/hold to send voice messages isn't intuitive #4601
- Fixed
2021-07-26 21:59:16 +02:00
Stefan Ceriu 08e1d8f761 #4090 - Activating the shared AVAudioSession before recording or playback. 2021-07-19 15:54:14 +03:00
Stefan Ceriu fa7e89be62 #4090 - Various tweaks and fixes following code review. Switched back to DateFormatters for formatting durations, sanitising audio player durations and current times. 2021-07-19 15:48:37 +03:00
Stefan Ceriu f6fa186184 #4090 - Fixed the AttachmentCacheManager's serial nature. 2021-07-16 15:47:56 +03:00
Stefan Ceriu bbaa6b0fcc Revert "Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account.""
This reverts commit f8076657531b7aeb068a7d2107f4feca607f2547.
2021-07-16 13:46:06 +03:00
Stefan Ceriu ce336e7491 Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account."
This reverts commit 9a2b60239c671322b99abc786b251e970aebebe8.
2021-07-16 13:31:38 +03:00
Stefan Ceriu 80930c354f #4090 - Switched the sendVoiceMessage method duration parameter to an integer. 2021-07-16 12:49:28 +03:00
Stefan Ceriu 31e7a9e413 #4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account. 2021-07-16 12:05:47 +03:00
Stefan Ceriu f5c59a05e6 #4094 - Redrawing waveforms on bound changes. 2021-07-16 09:06:36 +03:00
Stefan Ceriu 4ab02023dd #4094 - Fixed flickering elapsed time labels and other tweaks. 2021-07-14 14:40:54 +03:00
Stefan Ceriu e1c77b1775 #4094 - Switched back to multiple audio player instances (1 per event identifier), strongly retaining the currenty playing one and unloading all stopped ones. Various other improvements and bug fixes. 2021-07-14 10:26:21 +03:00
Stefan Ceriu f0363d2867 Revert "Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player.""
This reverts commit fcaa7ddd38f902d50c3ceb3f61d2687fe839efb1.
2021-07-13 16:13:39 +03:00
Stefan Ceriu ab10473166 #4094 - Sending voice message recording length and waveform samples. 2021-07-13 16:03:20 +03:00
Stefan Ceriu 8ff42fec54 Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player."
This reverts commit 12912341c29cd87d3ea4bed394e3a57e31fdbebf.
2021-07-13 08:04:50 +03:00
Stefan Ceriu 4066822c29 #4094 - Fixed attachments caching layer not working accordingly. 2021-07-12 15:50:44 +03:00
Stefan Ceriu e276842944 #4094 - Fix crash on concurrent access to waveform audio samples. 2021-07-12 15:31:18 +03:00
Stefan Ceriu 6f9cfaa0b5 #4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player. 2021-07-12 15:30:48 +03:00
Stefan Ceriu 4224609839 #4094 - Disable message replies while recording audio messages. 2021-07-12 12:18:49 +03:00
Stefan Ceriu 25534cf129 #4094 - Reduced the minimum recording duration to 1 second. 2021-07-12 10:18:01 +03:00
Gil Eluard 616d192a08 #4090 - Update after review 2021-07-10 00:16:23 +02:00
Gil Eluard c2302ac81c #4090 - Update after review 2021-07-06 23:03:56 +02:00
Gil Eluard fc10f906ae MXKeyBackup: trustForKeyBackupVersionFromCryptoQueue must consider MSK trust
- code tweaks and optimizations
2021-07-06 08:57:51 +02:00
Gil Eluard 627b6639e8 #4090 - Improved performances 2021-07-02 07:38:56 +02:00
Gil Eluard 37ae52006e #4090 - fixed small theme issues 2021-06-29 17:05:01 +02:00
Gil Eluard d6bbd0152c #4090 - bug fixing and removed work queue 2021-06-29 15:08:55 +02:00
Gil Eluard 107a063bbe #4090 - Use a dedicated dispatch queue for process 2021-06-29 08:52:21 +02:00
Stefan Ceriu 430e33a3f5 #4094 - Increased minimum long press duration to 1 second, reversed audio recorder waveform direction, added a minimum recording duration of 5 seconds for hold&send. 2021-06-25 16:51:45 +03:00
Stefan Ceriu a9a6e00e6b #4094 - Fixed toast notifications background color on dark themes. 2021-06-25 15:46:48 +03:00
Stefan Ceriu edd3447b6e #4094 - Fixed missing ffmpegkit module on release builds. Disabled cache manager work queue for now as it's still not working properly. 2021-06-25 14:42:52 +03:00
Stefan Ceriu 2dec67c9e2 #4094 - Caching layer work queue fixes and preventing sampling division by 0. 2021-06-25 13:18:40 +03:00
Stefan Ceriu 546e840cb5 #4094 - Fixed improper weak display link targets. 2021-06-25 12:13:43 +03:00
Stefan Ceriu f3b9f30ca8 #4094 - Added voice message attachment decryption, transcoding and sampling caching layer. 2021-06-25 12:09:41 +03:00
Stefan Ceriu b6a380a739 #4094 - Added toast notifications and maximum recording duration. 2021-06-24 14:02:41 +03:00
Stefan Ceriu 71fb68dbfc #4094 - Added Opus Ogg support through FFmpegKit backed media conversion. 2021-06-24 12:28:50 +03:00
Stefan Ceriu 3ed8e348cd #4094 - Optimize expensive date formatters creation. 2021-06-24 11:33:14 +03:00
Stefan Ceriu 242fb1d808 #4094 - Added multiple observation on media services and a mediaServiceProvider that prevents simultaneous playback from multiple player instances. 2021-06-24 11:29:07 +03:00
Stefan Ceriu 6d62b17e5b #4094 - Various tweaks, bug fixes and improvements following code review. 2021-06-23 15:37:34 +03:00
Stefan Ceriu 3f8dbb5fce #4094 - Fixed voice message toolbar states after sending message while recording in locked mode. 2021-06-22 16:58:36 +03:00
Stefan Ceriu a22069e8b4 #4094 - Added voice messages locked mode playback. 2021-06-22 13:19:39 +03:00
Stefan Ceriu 800c434530 #4096 - Weakify display link targets. 2021-06-22 09:59:14 +03:00
Stefan Ceriu 398fbac2a6 #4096 - Added locked mode transition and animations, locked recording mode and real time waveform. 2021-06-22 09:42:38 +03:00
Stefan Ceriu 28131c8828 #4096 - Extracted logic from the VoiceMessagePlaybackView. Exposed power levels from audio recorder. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 699fe622ea #4096 - Various small UI tweaks and bug fixes. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 9f286cc97a #4096 - Voice message playback view theme support. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 58edea8ac5 #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03:00