Commit Graph

56 Commits

Author SHA1 Message Date
Philippe Loriaux ca67b4a72b Add guard for audio player instanciation 2022-11-30 15:14:32 +01:00
Philippe Loriaux ca6d790847 Refactor audio layer part in playback view model 2022-11-30 11:14:25 +01:00
Philippe Loriaux d5522a5a31 Fix PR comments 2022-11-30 11:13:47 +01:00
Philippe Loriaux 41c4eda87e Fix lost line break 2022-11-29 16:27:04 +01:00
Philippe Loriaux d834ac016f Be able to pause the playback when it is buffering 2022-11-29 16:21:00 +01:00
Yoan Pintas 7cbd5ccdb5 VoiceBroadcast: Fix chunk processing (#7113) 2022-11-29 13:34:44 +01:00
Philippe Loriaux b4beae964a Update from latest PR changes requests 2022-11-28 15:41:40 +01:00
Philippe Loriaux 8616fde091 Fix PR comments 2022-11-28 14:41:49 +01:00
Philippe Loriaux ced9e6be4d Fix build after automatic rebase from GH 2022-11-28 09:20:44 +01:00
Phl-Pro 0a77be1c47 Merge branch 'develop' into phlpro/voicebroadcast-display-playback-duration 2022-11-28 09:12:03 +01:00
Yoan Pintas 0cb4e69f05 Support voice broadcast live playback (#7094) 2022-11-25 20:59:34 +01:00
Philippe Loriaux b85c033deb Add missing buffering state 2022-11-25 16:35:53 +01:00
Philippe Loriaux ddd2a3a766 Remove useless check condition 2022-11-25 15:22:58 +01:00
Philippe Loriaux a59441c4b5 Display the playback duration in the default state 2022-11-25 14:25:23 +01:00
yostyle 50e19260fa Update live indicator 2022-11-25 08:56:28 +01:00
Giom Foret 1f673e43dc 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 d006dab1f8 Fix PR comments 2022-11-25 08:56:28 +01:00
Giom Foret 26db21c551 update comments 2022-11-25 08:56:28 +01:00
yostyle 2ef25dc925 Support live playback 2022-11-25 08:56:28 +01:00
Yoan Pintas 40adacd482 Add voice broadcast slider (#7010) 2022-11-14 17:16:14 +01:00
Giom Foret 9d6aa2e5d6 Bug Fix : Crash if the room has avatar and voice broadcast tiles 2022-10-28 14:54:50 +02:00
Yoan Pintas 8d30c24a98 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 d53008c1ed Update voice broadcast tiles UI (#6965) 2022-10-25 15:58:06 +02:00
manuroe 4dc474cee1 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 61207fa08a Update UI 2022-10-20 18:48:20 +02:00
manuroe aff6331aa7 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 e16b628c19 Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 17:51:46 +02:00
yostyle 945c46d171 Fixes after rebase from develop 2022-10-20 17:51:02 +02:00
manuroe d879b38165 VB: Fix playLive after pause 2022-10-20 17:24:46 +02:00
yostyle 412e760a21 Display live voice broadcast 2022-10-20 16:48:20 +02:00
manuroe 88cc160cb4 VB: Remove a done TODO 2022-10-20 16:10:29 +02:00
manuroe b7f12b0247 VB: Own code review 2022-10-20 13:39:27 +02:00
manuroe abddea7e3e VB: Support live playback
from the beginning or with go live
2022-10-20 12:25:40 +02:00
manuroe eff2f3cc42 VB: Started live playback 2022-10-20 11:33:17 +02:00
manuroe ebff90ff2d VB: Introduce VoiceBroadcastState for the UI 2022-10-20 10:37:35 +02:00
manuroe 013d8c258c Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 09:48:50 +02:00
manuroe a761717b9a 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 2cd88b3a67 Remove matrixsdk import 2022-10-20 09:18:32 +02:00
yostyle c730d506ac Add voice broadcast error view 2022-10-20 02:36:27 +02:00
yostyle aec98993df Fixes after rebase on develop
Update voice broadcast playback UI
2022-10-20 02:01:01 +02:00
manuroe bd5b1f7471 VB: Support multi chunks playback 2022-10-20 01:45:57 +02:00
manuroe 736cde698b 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 78c162b6b6 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 f9ee000cbb VB: Improve playback states 2022-10-20 01:45:57 +02:00
manuroe ff0032d3e5 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
manuroe 91ae3b2a98 VB: Move view logic to the view model 2022-10-20 01:45:57 +02:00
manuroe 7c78e8ef04 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 c5e38ae76e Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-20 01:45:57 +02:00
manuroe 4acc26062a VB: Support multi chunks playback 2022-10-19 23:09:48 +02:00
manuroe 6cce2c51e6 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