Commit Graph

38 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
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
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 02c449275c Voice messages - Updated recorded audio file name. 2021-08-03 14:59:44 +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 80930c354f #4090 - Switched the sendVoiceMessage method duration parameter to an integer. 2021-07-16 12:49:28 +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 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 d6bbd0152c #4090 - bug fixing and removed work queue 2021-06-29 15:08:55 +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 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 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 58edea8ac5 #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03:00
Stefan Ceriu bf938f5d7b #4090 - Added recording duration label and permissions checking. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 0dd247d53e #4090 - Add voice message controller, audio recorder and toolbar view links. Working audio file sending and cancellation. 2021-06-22 09:42:37 +03:00