Commit Graph

42 Commits

Author SHA1 Message Date
Andy Uhnak 74b369e3af Track all errors in Sentry 2022-08-23 08:14:59 +01:00
Johannes Marbach 3e8976b21d Revert "Merge pull request #6529 from vector-im/feature/voice-message-max-length"
This reverts commit 3b14eff419, reversing
changes made to a54e5f436a.
2022-08-09 10:24:03 +02:00
Johannes Marbach d67a41f254 Increase max length of voice messages to 15m (PSG-662)
Relates to: vector-im/element-ios#5415

Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-08-04 13:30:19 +02:00
Stefan Ceriu a53a7a301e Fixes #6160 - Stop deleting audio recording when sending fails and allow it to be retried through the normal mechanism 2022-05-17 18:25:57 +03:00
Stefan Ceriu 625b9902d8 Fixes #4970 - Fixed unintentional voice message drafts on automatically cancelled recordings. 2021-10-08 16:28:42 +03:00
David Langley 37a0a6862b use roomId for audioPlayerId, remove dead code, make functions private. 2021-09-23 10:55:35 +01:00
David Langley 35bb840d74 Use RoomId for room by room drafts. 2021-09-23 08:48:15 +01:00
David Langley 76e1095c0f Simplify scrubbing logic. 2021-09-22 16:26:20 +01:00
David Langley 7480b4c008 Build on xcode 12 2021-09-22 13:53:26 +01:00
David Langley e367b670c6 Simplify scrubbing and reset to stopped if scrub to start/end 2021-09-22 11:12:45 +01:00
David Langley 84ad1ec372 Add scrubbing 2021-09-22 09:36:20 +01:00
Stefan Ceriu c323f0a9eb #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 c8454162c1 Voice messages - Updated recorded audio file name. 2021-08-03 14:59:44 +03:00
Stefan Ceriu 1b042db4d3 #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 df1a09260c #4090 - Switched the sendVoiceMessage method duration parameter to an integer. 2021-07-16 12:49:28 +03:00
Stefan Ceriu 87d6265067 #4094 - Fixed flickering elapsed time labels and other tweaks. 2021-07-14 14:40:54 +03:00
Stefan Ceriu b70c5b02c6 #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 b7c903da74 Revert "Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player.""
This reverts commit da5edee222.
2021-07-13 16:13:39 +03:00
Stefan Ceriu fa69b983f8 #4094 - Sending voice message recording length and waveform samples. 2021-07-13 16:03:20 +03:00
Stefan Ceriu da5edee222 Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player."
This reverts commit 68373f9f61.
2021-07-13 08:04:50 +03:00
Stefan Ceriu 68373f9f61 #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 3f9d9b1bd3 #4094 - Disable message replies while recording audio messages. 2021-07-12 12:18:49 +03:00
Stefan Ceriu 694294566d #4094 - Reduced the minimum recording duration to 1 second. 2021-07-12 10:18:01 +03:00
Gil Eluard 5b581fccc0 #4090 - Update after review 2021-07-10 00:16:23 +02:00
Gil Eluard 113fd85103 #4090 - Update after review 2021-07-06 23:03:56 +02:00
Gil Eluard b24879ac66 MXKeyBackup: trustForKeyBackupVersionFromCryptoQueue must consider MSK trust
- code tweaks and optimizations
2021-07-06 08:57:51 +02:00
Gil Eluard 471435fccf #4090 - bug fixing and removed work queue 2021-06-29 15:08:55 +02:00
Stefan Ceriu a3e8a9c114 #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 36cc7d5b8d #4094 - Caching layer work queue fixes and preventing sampling division by 0. 2021-06-25 13:18:40 +03:00
Stefan Ceriu 07873b1962 #4094 - Fixed improper weak display link targets. 2021-06-25 12:13:43 +03:00
Stefan Ceriu 0b155b9879 #4094 - Added toast notifications and maximum recording duration. 2021-06-24 14:02:41 +03:00
Stefan Ceriu 705c2290f3 #4094 - Added Opus Ogg support through FFmpegKit backed media conversion. 2021-06-24 12:28:50 +03:00
Stefan Ceriu 02e325ecab #4094 - Optimize expensive date formatters creation. 2021-06-24 11:33:14 +03:00
Stefan Ceriu 37e9ca52c1 #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 1ef9471aac #4094 - Various tweaks, bug fixes and improvements following code review. 2021-06-23 15:37:34 +03:00
Stefan Ceriu cd12d4ca8c #4094 - Fixed voice message toolbar states after sending message while recording in locked mode. 2021-06-22 16:58:36 +03:00
Stefan Ceriu ead91f8781 #4094 - Added voice messages locked mode playback. 2021-06-22 13:19:39 +03:00
Stefan Ceriu 8d9bcc0b51 #4096 - Weakify display link targets. 2021-06-22 09:59:14 +03:00
Stefan Ceriu 9a4ce85fd5 #4096 - Added locked mode transition and animations, locked recording mode and real time waveform. 2021-06-22 09:42:38 +03:00
Stefan Ceriu 19e402a622 #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 04f2ad7a6e #4090 - Added recording duration label and permissions checking. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 11fb964e90 #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