Commit Graph

17110 Commits

Author SHA1 Message Date
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
Giom Foret ea6cf122d7 - Fix the RoomBubbleCellData tag management (Record/Playback/NoDisplay)
- Force the VB display even if the Labs flag is disabled. The Labs flag is only used now to block VB recording and sending
- Fix: Release VBService when the user stops the broadcast
2022-10-20 01:46:39 +02:00
manuroe bd5b1f7471 VB: Support multi chunks playback 2022-10-20 01:45:57 +02:00
manuroe 69c4f71d87 VoiceMessageAudioPlayer: Add support of URLs queue playback
To be used for voice broadcast
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
yostyle c606db5d02 Support mp4 audio file format 2022-10-20 01:45:57 +02:00
Giom Foret 142195145f Update the Voice Broadcast Labs flag description 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
yostyle 04eaa5afa3 Add device_id and record tag 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
yostyle 3960593c6e Aggregate chunks in voice broacast 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 b131c5308b Simplify TimelineVoiceBroadcastDetails struct 2022-10-20 01:45:57 +02:00
manuroe 228580610d Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-20 01:45:57 +02:00
manuroe 893a7efae1 Rename TimelineVoiceBroadcastCoordinator to controller
It has nothing todo with a coordinator. Start to follow the same naming as VoiceMessage.

Remove SwiftUI VoiceBroadcastChunk to make it build
2022-10-20 01:45:57 +02:00
yostyle 5e4271cb24 Check user id to prevent fake ckunk 2022-10-20 01:45:57 +02:00
yostyle 6712e1c6c9 Add chunks in TimelineVoiceBroadcastDetails 2022-10-20 01:45:57 +02:00
yostyle 6a3fce34ec Add some comments 2022-10-20 01:45:57 +02:00
yostyle db461cf867 Init voice broadcast playing service 2022-10-20 01:45:57 +02:00
giomfo 6a4ccaea5b Merge pull request #6940 from vector-im/gfo/add_voice_broadcast_wysiwyg_composer
Display info dialogs when we prevent the user from starting a new voice broadcast
2022-10-20 01:10:03 +02:00
Giom Foret 16f57eaf3e Display info dialogs when we prevent the user from starting a new voice broadcast
- Update the existing implementation used to start/stop a voice broadcast in order to handle the different cases where voice broadcast is denied
- Add the optional Voice broadcast action to the new wysiwyg composer
2022-10-20 00:38:42 +02:00
manuroe 83cc0044b5 Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-19 23:51:16 +02:00
manuroe 4acc26062a VB: Support multi chunks playback 2022-10-19 23:09:48 +02:00
manuroe 5505b559f6 VoiceMessageAudioPlayer: Add support of URLs queue playback
To be used for voice broadcast
2022-10-19 23:01:04 +02:00
Giom Foret 81241c14c6 - Fix the RoomBubbleCellData tag management (Record/Playback/NoDisplay)
- Force the VB display even if the Labs flag is disabled. The Labs flag is only used now to block VB recording and sending
- Fix: Release VBService when the user stops the broadcast
2022-10-19 19:25:54 +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
yostyle 62bd046af8 Support mp4 audio file format 2022-10-19 16:36:49 +02:00
Giom Foret 1cf8eee842 Update the Voice Broadcast Labs flag description 2022-10-19 16:07:26 +02:00
manuroe 174703f44b 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 dad2f29bd5 VB: Improve playback states 2022-10-19 15:01:43 +02:00
Alfonso Grillo 24f0671a73 Merge pull request #6932 from vector-im/alfogrillo/6849_composer_text_field_size
Fix text view height issue (PSB-200)
2022-10-19 15:00:02 +02:00
manuroe 8efa89616c VB: Playback starts to work but only the first chunk if it is ogg 2022-10-19 14:23:09 +02:00
yostyle c51296c691 Add device_id and record tag 2022-10-19 13:10:59 +02:00
manuroe cb0224abf8 VB: Move view logic to the view model 2022-10-19 13:00:35 +02:00
yostyle ac90c2ab51 Aggregate chunks in voice broacast 2022-10-19 11:11:49 +02:00
Alfonso Grillo bc3bb0dfc2 Add changelog.d file 2022-10-19 10:36:22 +02:00
Alfonso Grillo b3c97f63a0 Fix text view height issue 2022-10-19 10:30:20 +02:00
manuroe a3767b07ae 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