Commit Graph

71 Commits

Author SHA1 Message Date
Stefan Ceriu 2e1ff54773 Fixes #4970 - Fixed unintentional voice message drafts on automatically cancelled recordings. 2021-10-08 16:28:42 +03:00
Stefan Ceriu 27eaa9453c Fixes #4935 - Enable voice message scrubbing pan gesture only after long press. 2021-10-08 14:18:53 +03:00
David Langley 8dbd0c310d use roomId for audioPlayerId, remove dead code, make functions private. 2021-09-23 10:55:35 +01:00
David Langley 350fc0fe30 Use RoomId for room by room drafts. 2021-09-23 08:48:15 +01:00
David Langley fb5b1b28e9 Simplify scrubbing logic. 2021-09-22 16:26:20 +01:00
David Langley 80f407857f Build on xcode 12 2021-09-22 13:53:26 +01:00
David Langley d0ca7fa921 Simplify scrubbing and reset to stopped if scrub to start/end 2021-09-22 11:12:45 +01:00
David Langley 46f31830ca Add scrubbing 2021-09-22 09:36:20 +01:00
David Langley 6e642c4374 Add Pause/Resume support between rooms. 2021-09-21 15:52:53 +01:00
Stefan Ceriu fc3dd7c216 Moved converted voice messages to their own folder. Cleaning up all temporary files on reload and logout. 2021-09-01 17:08:07 +03:00
Stefan Ceriu 33396c146b Fixes #4748 - Fixed cached callbacks race condition, serialized all async operations, properly cleaning up callbacks on failure. 2021-08-25 14:03:42 +03:00
Stefan Ceriu 3c650f36db Fixes #4714 - Flickering voice message cells while being sent. 2021-08-18 14:58:32 +03:00
Stefan Ceriu ecfa544cd0 Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
Stefan Ceriu 2a6f0233a8 Fixes voice message audio quality. 2021-08-06 14:22:52 +03:00
Stefan Ceriu fb1cbe181c #4655 - Localized lock screen voice message name placeholder. 2021-08-05 16:55:02 +03:00
ismailgulek 90b08de62f Update Riot/Modules/Room/VoiceMessages/VoiceMessageMediaServiceProvider.swift
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2021-08-05 16:55:02 +03:00
ismailgulek 08161b31a5 Fix room avatar 2021-08-05 16:55:02 +03:00
Stefan Ceriu f259a479d2 #4656 - Stop recording voice message and go into locked mode when the application becomes inactive. Updated changes.rst. 2021-08-05 16:55:02 +03:00
Stefan Ceriu 8e73c7546e #4655 - Allowing voice message playback to be controlled from the lock screen or the control center. 2021-08-05 16:55:02 +03:00
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