Commit Graph

38 Commits

Author SHA1 Message Date
Stefan Ceriu cc96eb8dc2 Fixes #4970 - Fixed unintentional voice message drafts on automatically cancelled recordings. 2021-10-08 16:28:42 +03:00
David Langley a45af88696 use roomId for audioPlayerId, remove dead code, make functions private. 2021-09-23 10:55:35 +01:00
David Langley 351e60780b Use RoomId for room by room drafts. 2021-09-23 08:48:15 +01:00
David Langley 80f4f6a29e Simplify scrubbing logic. 2021-09-22 16:26:20 +01:00
David Langley 2b4cad4136 Build on xcode 12 2021-09-22 13:53:26 +01:00
David Langley d3c3643098 Simplify scrubbing and reset to stopped if scrub to start/end 2021-09-22 11:12:45 +01:00
David Langley 187d1d316c Add scrubbing 2021-09-22 09:36:20 +01:00
Stefan Ceriu 59751667db #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 8e23e24173 Voice messages - Updated recorded audio file name. 2021-08-03 14:59:44 +03:00
Stefan Ceriu a7d053e97f #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 9a8d09efb4 #4090 - Switched the sendVoiceMessage method duration parameter to an integer. 2021-07-16 12:49:28 +03:00
Stefan Ceriu e3a025cfe0 #4094 - Fixed flickering elapsed time labels and other tweaks. 2021-07-14 14:40:54 +03:00
Stefan Ceriu bcba0d2338 #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 513c950e0d Revert "Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player.""
This reverts commit 1a5197c69a9caa0e961fd58939a76e4c4349468e.
2021-07-13 16:13:39 +03:00
Stefan Ceriu 134250d486 #4094 - Sending voice message recording length and waveform samples. 2021-07-13 16:03:20 +03:00
Stefan Ceriu 0d315dbe0f Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player."
This reverts commit 1a2a434d9dabf08caecdd9d6833abf02e2e77365.
2021-07-13 08:04:50 +03:00
Stefan Ceriu 648eea312c #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 436083ae8c #4094 - Disable message replies while recording audio messages. 2021-07-12 12:18:49 +03:00
Stefan Ceriu f95155e3e3 #4094 - Reduced the minimum recording duration to 1 second. 2021-07-12 10:18:01 +03:00
Gil Eluard 67613cffa2 #4090 - Update after review 2021-07-10 00:16:23 +02:00
Gil Eluard 36cefffd7e #4090 - Update after review 2021-07-06 23:03:56 +02:00
Gil Eluard 5d3c40ad7a MXKeyBackup: trustForKeyBackupVersionFromCryptoQueue must consider MSK trust
- code tweaks and optimizations
2021-07-06 08:57:51 +02:00
Gil Eluard b16d11e472 #4090 - bug fixing and removed work queue 2021-06-29 15:08:55 +02:00
Stefan Ceriu c7c1f436f2 #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 e353f01c5c #4094 - Caching layer work queue fixes and preventing sampling division by 0. 2021-06-25 13:18:40 +03:00
Stefan Ceriu 3f7d821c69 #4094 - Fixed improper weak display link targets. 2021-06-25 12:13:43 +03:00
Stefan Ceriu 1594bdda19 #4094 - Added toast notifications and maximum recording duration. 2021-06-24 14:02:41 +03:00
Stefan Ceriu 433cc15f9d #4094 - Added Opus Ogg support through FFmpegKit backed media conversion. 2021-06-24 12:28:50 +03:00
Stefan Ceriu a04adf998e #4094 - Optimize expensive date formatters creation. 2021-06-24 11:33:14 +03:00
Stefan Ceriu 7e2305464c #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 1000736265 #4094 - Various tweaks, bug fixes and improvements following code review. 2021-06-23 15:37:34 +03:00
Stefan Ceriu 27fbed011e #4094 - Fixed voice message toolbar states after sending message while recording in locked mode. 2021-06-22 16:58:36 +03:00
Stefan Ceriu 172f197b4d #4094 - Added voice messages locked mode playback. 2021-06-22 13:19:39 +03:00
Stefan Ceriu 4910066fa5 #4096 - Weakify display link targets. 2021-06-22 09:59:14 +03:00
Stefan Ceriu d9293e7d2d #4096 - Added locked mode transition and animations, locked recording mode and real time waveform. 2021-06-22 09:42:38 +03:00
Stefan Ceriu 29e5557f7a #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 04986bd407 #4090 - Added recording duration label and permissions checking. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 08f274bd61 #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