Commit Graph

348 Commits

Author SHA1 Message Date
Velin92 84c47ce41a Merge pull request #6952 from vector-im/mauroromito/6941_wysiwyg_voice_message_support
Rich Text Composer - Voice Message Support
2022-10-21 14:38:13 +02:00
Mauro Romito 61156901cb should fix the CI UI tests failing 2022-10-21 13:35:10 +02:00
Mauro Romito 07eb3d2696 fix for tests 2022-10-21 11:26:53 +02:00
Mauro Romito 20dbe2310b voice message support added to the rich text composer 2022-10-21 10:33:23 +02:00
manuroe cd800125ae VB: Move VoiceBroadcastRecorderService into a MatrixSDK
to make pure SwiftUI projects build
2022-10-20 20:10:41 +02:00
Philippe Loriaux efc4dc3ed3 Enhance chunk sending mecanism in recorder service 2022-10-20 20:02:39 +02:00
Philippe Loriaux 83da916d97 Clean code 2022-10-20 19:53:47 +02:00
Mauro Romito 973923b071 voice messages implemented 2022-10-20 19:41:02 +02:00
Philippe Loriaux c310b4bfe2 Remove useless imports 2022-10-20 19:39:51 +02:00
Philippe Loriaux 0954e61df9 Update record UI to be in sync with other platforms 2022-10-20 19:39:51 +02:00
Philippe Loriaux 1514e54383 Fix API change for VectorHostingController 2022-10-20 19:39:51 +02:00
Philippe Loriaux 3ee6a0050e Add missing update state after switching to resumed state 2022-10-20 19:39:51 +02:00
Philippe Loriaux a4beccfeb2 Set voice broadcast recording to pause when the app goes in background and when the RVC will disappear 2022-10-20 19:39:51 +02:00
Philippe Loriaux 1309584ed8 Fix a potential crash when trying to send a nil chunk file (in case of stop immediately after pause) 2022-10-20 19:39:51 +02:00
Philippe Loriaux 1c5e011fbe Remove useless log in VoiceBroadcastRecorderService 2022-10-20 19:39:51 +02:00
Philippe Loriaux 73e03a6cb5 Add AAC to M4A converter and now convert chunks before sending them 2022-10-20 19:39:51 +02:00
Philippe Loriaux d5b56f4dc8 Update sequence number associated to chunk file sending 2022-10-20 19:39:51 +02:00
Philippe Loriaux 6abeab51e5 Update first chunk number 2022-10-20 19:39:50 +02:00
Philippe Loriaux 786ed091ec Update recording state after stopping voice broadcast on every cases 2022-10-20 19:39:50 +02:00
Philippe Loriaux bfa536eec3 Send the last chunk file after stopping or pausing a record 2022-10-20 19:39:50 +02:00
Philippe Loriaux d7c4bbbc49 Fix UI status at record startup and depending on the recording status 2022-10-20 19:39:50 +02:00
Philippe Loriaux 5fabf7c22b Fix recorder service for audio node after stopping a record 2022-10-20 19:39:50 +02:00
Philippe Loriaux 8d4f35fef3 Update recorder service 2022-10-20 19:39:50 +02:00
Philippe Loriaux 0c86dbd7da Add sequence value when sending chunk files 2022-10-20 19:39:50 +02:00
Philippe Loriaux 1280ff9569 Update recorder view and content 2022-10-20 19:39:50 +02:00
Philippe Loriaux 3dd173ff4b Fix missing parts on Voice broadcast recorder service 2022-10-20 19:39:50 +02:00
Philippe Loriaux 852586ef7b First part of the voice broadcast recording feature 2022-10-20 19:39:50 +02:00
Mauro Romito 0f20383559 the voice message toolbar now appears 2022-10-20 19:18:50 +02:00
manuroe 477f0790a6 VB: Moved the VM temporary under a MatrixSDK
to avoid to use it on the SwiftUI build
2022-10-20 18:58:16 +02:00
yostyle dcc3b6375b Update UI 2022-10-20 18:48:20 +02:00
manuroe d8ef6c5bc3 VB: Hack to make the project build for SwiftUI tests
We need to rework the view model to remove its dependency on MatrixSDK
2022-10-20 18:33:04 +02:00
manuroe 39e2aee7df Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 17:51:46 +02:00
yostyle c67abf7415 Fixes after rebase from develop 2022-10-20 17:51:02 +02:00
yostyle af9019cdba Merge branch 'develop' into yostyle/voice_broadcast_playing 2022-10-20 17:45:41 +02:00
manuroe 1e1b8e4d76 VB: Fix playLive after pause 2022-10-20 17:24:46 +02:00
yostyle 0b77d674ce Display live voice broadcast 2022-10-20 16:48:20 +02:00
manuroe f954975fe2 VB: Remove a done TODO 2022-10-20 16:10:29 +02:00
ismailgulek d62640c56d Fix infinite layout loops on timeline (#6942)
* Remove `forceZeroSageAreaInsets` from `VectorHostingController`

* Fix layout issues when adding hosting views into the content view

* Use the new api when adding views into the content

* Add changelog
2022-10-20 15:55:07 +03:00
manuroe 34a49f966a VB: Own code review 2022-10-20 13:39:27 +02:00
manuroe 64d4a91463 VB: Support live playback
from the beginning or with go live
2022-10-20 12:25:40 +02:00
manuroe cc39c8511e VB: Started live playback 2022-10-20 11:33:17 +02:00
manuroe 4da33a5259 VB: Introduce VoiceBroadcastState for the UI 2022-10-20 10:37:35 +02:00
Velin92 4c5dfb97f9 Merge pull request #6938 from vector-im/mauroromito/6935_wysiwyg_placeholder
Rich Text Composer Placeholder Text
2022-10-20 10:04:33 +02:00
manuroe cf75f9bded Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 09:48:50 +02:00
manuroe f21b3d8ba9 VB: Manage playback completion properly
Make VoiceManager audioPlayerDidFinishPlaying called when the last item of the playlist has been played
2022-10-20 09:38:14 +02:00
yostyle 690059c4e4 Remove matrixsdk import 2022-10-20 09:18:32 +02:00
yostyle 3cad530e50 Add voice broadcast error view 2022-10-20 02:36:27 +02:00
yostyle ba11761d79 Fixes after rebase on develop
Update voice broadcast playback UI
2022-10-20 02:01:01 +02:00
manuroe 58f9feaae1 VB: Support multi chunks playback 2022-10-20 01:45:57 +02:00
manuroe 56bec55080 VB: Make the view model aware of every chunk new coming
this reactive approach will help to cache and reorder them by sequence
2022-10-20 01:45:57 +02:00