Commit graph

809 commits

Author SHA1 Message Date
Aleksandrs Proskurins
bff4eeaaf3 Merge branch 'develop' into aleksandrs/6928_multi_session_selection 2022-10-21 14:21:59 +03:00
Aleksandrs Proskurins
45f26dfca6 Unit tests 2022-10-21 14:21:06 +03:00
Aleksandrs Proskurins
d5a3af2d8a Select All 2022-10-21 11:49:33 +03:00
manuroe
b9ebb7dded VB: Move VoiceBroadcastRecorderService into a MatrixSDK
to make pure SwiftUI projects build
2022-10-20 20:10:41 +02:00
Philippe Loriaux
2fa1ebef25 Enhance chunk sending mecanism in recorder service 2022-10-20 20:02:39 +02:00
Philippe Loriaux
e7216538a5 Clean code 2022-10-20 19:53:47 +02:00
Philippe Loriaux
48fe6c4565 Remove useless imports 2022-10-20 19:39:51 +02:00
Philippe Loriaux
766579340d Update record UI to be in sync with other platforms 2022-10-20 19:39:51 +02:00
Philippe Loriaux
e3d46f9ac3 Fix API change for VectorHostingController 2022-10-20 19:39:51 +02:00
Philippe Loriaux
91268af136 Add missing update state after switching to resumed state 2022-10-20 19:39:51 +02:00
Philippe Loriaux
36c0a83542 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
75f195f319 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
9686d843c0 Remove useless log in VoiceBroadcastRecorderService 2022-10-20 19:39:51 +02:00
Philippe Loriaux
e67323212e Add AAC to M4A converter and now convert chunks before sending them 2022-10-20 19:39:51 +02:00
Philippe Loriaux
8a6ed94705 Update sequence number associated to chunk file sending 2022-10-20 19:39:51 +02:00
Philippe Loriaux
0cf3528276 Update first chunk number 2022-10-20 19:39:50 +02:00
Philippe Loriaux
f30c4b53e9 Update recording state after stopping voice broadcast on every cases 2022-10-20 19:39:50 +02:00
Philippe Loriaux
b2aa401804 Send the last chunk file after stopping or pausing a record 2022-10-20 19:39:50 +02:00
Philippe Loriaux
eedfc637e9 Fix UI status at record startup and depending on the recording status 2022-10-20 19:39:50 +02:00
Philippe Loriaux
62b4e822ff Fix recorder service for audio node after stopping a record 2022-10-20 19:39:50 +02:00
Philippe Loriaux
48f340b509 Update recorder service 2022-10-20 19:39:50 +02:00
Philippe Loriaux
75f9e9ad32 Add sequence value when sending chunk files 2022-10-20 19:39:50 +02:00
Philippe Loriaux
838b180a2d Update recorder view and content 2022-10-20 19:39:50 +02:00
Philippe Loriaux
d2fd2269fc Fix missing parts on Voice broadcast recorder service 2022-10-20 19:39:50 +02:00
Philippe Loriaux
95abf4bbed First part of the voice broadcast recording feature 2022-10-20 19:39:50 +02:00
manuroe
0738b75e22 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
3908d62fe0 Update UI 2022-10-20 18:48:20 +02:00
manuroe
590228c834 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
efc9ed1fdf Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 17:51:46 +02:00
yostyle
a367d40e92 Fixes after rebase from develop 2022-10-20 17:51:02 +02:00
yostyle
7c0ea5adc4 Merge branch 'develop' into yostyle/voice_broadcast_playing 2022-10-20 17:45:41 +02:00
manuroe
c8a1358170 VB: Fix playLive after pause 2022-10-20 17:24:46 +02:00
yostyle
b1cde5f719 Display live voice broadcast 2022-10-20 16:48:20 +02:00
manuroe
0690f9ac65 VB: Remove a done TODO 2022-10-20 16:10:29 +02:00
ismailgulek
a30cc92e24
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
Aleksandrs Proskurins
dcbf750f78 UI fixes 2022-10-20 15:35:46 +03:00
manuroe
caea678d74 VB: Own code review 2022-10-20 13:39:27 +02:00
manuroe
b4f6f74d5e VB: Support live playback
from the beginning or with go live
2022-10-20 12:25:40 +02:00
manuroe
83eff0e9ad VB: Started live playback 2022-10-20 11:33:17 +02:00
Aleksandrs Proskurins
8a3ce2d7e1 Removed sections 2022-10-20 12:07:55 +03:00
manuroe
93611e1e8b VB: Introduce VoiceBroadcastState for the UI 2022-10-20 10:37:35 +02:00
Velin92
00cf240388
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
4990653de3 Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 09:48:50 +02:00
manuroe
43b2e489b3 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
832505fafa Remove matrixsdk import 2022-10-20 09:18:32 +02:00
yostyle
43b7c30737 Add voice broadcast error view 2022-10-20 02:36:27 +02:00
yostyle
04de23fce7 Fixes after rebase on develop
Update voice broadcast playback UI
2022-10-20 02:01:01 +02:00
manuroe
565a28fb82 VB: Support multi chunks playback 2022-10-20 01:45:57 +02:00
manuroe
b6b5168089 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
manuroe
f482d1a832 Expose better broadcast details to the view
Starting from the sender name but we can add more things. This is up to the design expectation
2022-10-20 01:45:57 +02:00