Commit graph

36 commits

Author SHA1 Message Date
Giom Foret
e8c8323655 Bug Fix : Crash if the room has avatar and voice broadcast tiles 2022-10-28 14:54:50 +02:00
Yoan Pintas
b26fdd974e
Add voice broadcast initial state in bubble data (#6972)
- Add voice broadcast initial state in bubble data
- Remove the local record after sending
2022-10-26 08:51:41 +02:00
Yoan Pintas
b97e10cb66
Update voice broadcast tiles UI (#6965) 2022-10-25 15:58:06 +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
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
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
manuroe
93611e1e8b VB: Introduce VoiceBroadcastState for the UI 2022-10-20 10:37:35 +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
manuroe
e202561734 VB: Improve playback states 2022-10-20 01:45:57 +02:00
manuroe
d04c2ea704 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
manuroe
7ae507fc09 VB: Move view logic to the view model 2022-10-20 01:45:57 +02:00
manuroe
2e35895576 Renamed back to VoiceBroadcastPlaybackCoordinator
The logic will be moved to the view model. This file will just serve the SwiftUI view
2022-10-20 01:45:57 +02:00
manuroe
2f09856fc3 Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-20 01:45:57 +02:00
manuroe
e92bb7926e VB: Support multi chunks playback 2022-10-19 23:09:48 +02:00
manuroe
85f2076be8 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-19 17:28:08 +02:00
manuroe
261f477127 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-19 15:32:03 +02:00
manuroe
4757cf5a67 VB: Improve playback states 2022-10-19 15:01:43 +02:00
manuroe
c90b0459ab VB: Playback starts to work but only the first chunk if it is ogg 2022-10-19 14:23:09 +02:00
manuroe
1c048b5901 VB: Move view logic to the view model 2022-10-19 13:00:35 +02:00
manuroe
0dcc39037c Renamed back to VoiceBroadcastPlaybackCoordinator
The logic will be moved to the view model. This file will just serve the SwiftUI view
2022-10-19 10:20:38 +02:00
manuroe
c96485a46f Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-19 10:13:07 +02:00