Commit Graph

89 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
David Langley 53306ec01a Remove ffmpeg again with opus libraries fixed to add arm64 sim support. 2022-07-13 14:01:02 +01:00
Gil Eluard 260cc22d51 Update Files component iOS (#6345)
* Update Files component iOS

- Done
2022-06-29 16:11:52 +02:00
Robin Kipp b8694ebd7d Properly end the active AVAudioSession when recording finishes. 2022-06-27 20:02:22 +02:00
Robin Kipp c84c0fad36 Accessibility: VoiceOver: Add accessibility label and hint to the Record Voice Message button. (#6323)
* Add accessibility label and hint to the Record Voice Message button.

* Add release note.

* Remove unnecessary import for SwiftUI.

* Update Riot/Modules/Room/VoiceMessages/VoiceMessageToolbarView.swift

Use VectorL10n instead of calling NSLocalizedString directly.

* Add German translation for the newly added a11y strings.

* Revert "Add German translation for the newly added a11y strings."

This reverts commit 003cfd9c3ecc149b9aff7833c8d6614bbb37f72c.

* Update Riot/Assets/en.lproj/Vector.strings
2022-06-22 10:07:13 +01:00
David Langley d7942242ff Revert "Replace ffmpeg with switf-ogg" 2022-06-20 10:53:56 +02:00
David Langley 6bf78b89af fix typos and returning on main 2022-06-14 23:44:49 +01:00
David Langley 1f3128fbc7 Replace ffmpeg with switf-ogg 2022-06-09 23:39:45 +01: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
SBiOSoftWhare 8a4c5ebda6 VoiceMessagePlaybackView: Update background view color property name. 2022-02-01 14:49:17 +01:00
SBiOSoftWhare 23ec2c6671 VoiceMessagePlaybackView: Expose stackViewTrailingContraint. 2022-01-28 14:32:43 +01:00
SBiOSoftWhare 2bd87d0456 VoiceMessage: Update MXKAttachmentType usage. 2022-01-26 16:02:24 +01:00
SBiOSoftWhare 7071f32952 VoiceMessagePlaybackView: Expose background color. 2022-01-25 15:44:48 +01:00
Stefan Ceriu 233eef26a3 Fixed ffmpeg-kit breaking changes after minor release, fixed version to 4.5.1 2022-01-06 13:31:05 +02:00
Stefan Ceriu 1e8be18912 vector-im/element-ios/issues/4753 - Prevent unnecessary audio file conversions if final file already exists on disk. 2021-12-02 15:38:59 +02:00
Stefan Ceriu d7acd090f5 vector-im/element-ios/issues/4753 - Allow audio file attachments to be played back inline by reusing the existing voice message UI. 2021-12-02 15:38:59 +02:00
Stefan Ceriu 625b9902d8 Fixes #4970 - Fixed unintentional voice message drafts on automatically cancelled recordings. 2021-10-08 16:28:42 +03:00
Stefan Ceriu f988fadaf0 Fixes #4935 - Enable voice message scrubbing pan gesture only after long press. 2021-10-08 14:18:53 +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
David Langley a178f587c2 Add Pause/Resume support between rooms. 2021-09-21 15:52:53 +01:00
Stefan Ceriu c716098dd4 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 91539cd236 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 108f952680 Fixes #4714 - Flickering voice message cells while being sent. 2021-08-18 14:58:32 +03:00
Stefan Ceriu a19aea00e8 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 50b1a5516d Fixes voice message audio quality. 2021-08-06 14:22:52 +03:00
Stefan Ceriu d19e069ca3 #4655 - Localized lock screen voice message name placeholder. 2021-08-05 16:55:02 +03:00
ismailgulek 662ce3870d Update Riot/Modules/Room/VoiceMessages/VoiceMessageMediaServiceProvider.swift
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2021-08-05 16:55:02 +03:00
ismailgulek 0ecd5b4945 Fix room avatar 2021-08-05 16:55:02 +03: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 bd255d370c #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 c8454162c1 Voice messages - Updated recorded audio file name. 2021-08-03 14:59:44 +03:00
Stefan Ceriu cb5b591e03 Voice messages - Increased recording state microphone icon size. 2021-08-03 14:59:44 +03:00
Stefan Ceriu 505472e099 #4641 - Voice messages - always access local cache manager state from the internal work queue. 2021-08-03 14:59:44 +03:00
Gil Eluard 4214a6dd46 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 ce9cf4fd7c Tapping on waveform in composer glitches UI #4603
- Fixed
2021-07-26 22:19:04 +02:00
Gil Eluard 0f9a292184 Tap/hold to send voice messages isn't intuitive #4601
- Fixed
2021-07-26 21:59:16 +02:00
Stefan Ceriu d7a715467e #4090 - Activating the shared AVAudioSession before recording or playback. 2021-07-19 15:54:14 +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 951b0aa23b #4090 - Fixed the AttachmentCacheManager's serial nature. 2021-07-16 15:47:56 +03:00
Stefan Ceriu 6a35e1c96e Revert "Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account.""
This reverts commit 8225b800e3.
2021-07-16 13:46:06 +03:00
Stefan Ceriu 8225b800e3 Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account."
This reverts commit 72522dae67.
2021-07-16 13:31:38 +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 72522dae67 #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