Commit Graph

56 Commits

Author SHA1 Message Date
Philippe Loriaux 70a56a8bdb Add guard for audio player instanciation 2022-11-30 15:14:32 +01:00
Philippe Loriaux 6b5f1b6623 Refactor audio layer part in playback view model 2022-11-30 11:14:25 +01:00
Philippe Loriaux ebef68f92c Fix PR comments 2022-11-30 11:13:47 +01:00
Philippe Loriaux 778aeb1d85 Fix lost line break 2022-11-29 16:27:04 +01:00
Philippe Loriaux 898defbbb4 Be able to pause the playback when it is buffering 2022-11-29 16:21:00 +01:00
Yoan Pintas 93e324a6b6 VoiceBroadcast: Fix chunk processing (#7113) 2022-11-29 13:34:44 +01:00
Philippe Loriaux d54a7d8d5f Update from latest PR changes requests 2022-11-28 15:41:40 +01:00
Philippe Loriaux af97ccc63f Fix PR comments 2022-11-28 14:41:49 +01:00
Philippe Loriaux ceaf9a9d10 Fix build after automatic rebase from GH 2022-11-28 09:20:44 +01:00
Phl-Pro f1fb0d29d8 Merge branch 'develop' into phlpro/voicebroadcast-display-playback-duration 2022-11-28 09:12:03 +01:00
Yoan Pintas 5cadc97e82 Support voice broadcast live playback (#7094) 2022-11-25 20:59:34 +01:00
Philippe Loriaux 95805ee827 Add missing buffering state 2022-11-25 16:35:53 +01:00
Philippe Loriaux e838246101 Remove useless check condition 2022-11-25 15:22:58 +01:00
Philippe Loriaux c2d7aadcb4 Display the playback duration in the default state 2022-11-25 14:25:23 +01:00
yostyle 8d1b526851 Update live indicator 2022-11-25 08:56:28 +01:00
Giom Foret e41058c041 Fix the live icon must be displayed (in grey) if the record is paused - It is hidden currently 2022-11-25 08:56:28 +01:00
yostyle bdf5505e24 Fix PR comments 2022-11-25 08:56:28 +01:00
Giom Foret 2d5c20daed update comments 2022-11-25 08:56:28 +01:00
yostyle afaea36ba9 Support live playback 2022-11-25 08:56:28 +01:00
Yoan Pintas 91c5936a24 Add voice broadcast slider (#7010) 2022-11-14 17:16:14 +01:00
Giom Foret c3a5d5a7fb Bug Fix : Crash if the room has avatar and voice broadcast tiles 2022-10-28 14:54:50 +02:00
Yoan Pintas 216755688f 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 d875c26f25 Update voice broadcast tiles UI (#6965) 2022-10-25 15:58:06 +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
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
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
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
manuroe 79ca7b8dc0 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 e2f41f45f1 VB: Improve playback states 2022-10-20 01:45:57 +02:00
manuroe c51287a490 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
manuroe 664004eec5 VB: Move view logic to the view model 2022-10-20 01:45:57 +02:00
manuroe 5d198d0d3a 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 eb71a8f34a Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-20 01:45:57 +02:00
manuroe 0104cda91a VB: Support multi chunks playback 2022-10-19 23:09:48 +02:00
manuroe d2ccee0b50 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