Commit graph

17250 commits

Author SHA1 Message Date
manuroe
7ae507fc09 VB: Move view logic to the view model 2022-10-20 01:45:57 +02:00
yostyle
a3add5b793 Aggregate chunks in voice broacast 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
3d26a113c3 Simplify TimelineVoiceBroadcastDetails struct 2022-10-20 01:45:57 +02:00
manuroe
b8bc97a15e Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-20 01:45:57 +02:00
manuroe
9bfd655a5b 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
6e828b55d4 Check user id to prevent fake ckunk 2022-10-20 01:45:57 +02:00
yostyle
68adfe32f2 Add chunks in TimelineVoiceBroadcastDetails 2022-10-20 01:45:57 +02:00
yostyle
73fa0f22b6 Add some comments 2022-10-20 01:45:57 +02:00
yostyle
99b50d2c2a Init voice broadcast playing service 2022-10-20 01:45:57 +02:00
giomfo
1e73543c34
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
080acb3628 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
e7cb42ec80 Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-19 23:51:16 +02:00
manuroe
e92bb7926e VB: Support multi chunks playback 2022-10-19 23:09:48 +02:00
manuroe
34894bf559 VoiceMessageAudioPlayer: Add support of URLs queue playback
To be used for voice broadcast
2022-10-19 23:01:04 +02:00
Mauro Romito
debf954842 Merge branch 'develop' into mauroromito/6935_wysiwyg_placeholder 2022-10-19 21:26:38 +02:00
Giom Foret
03de5ec4ac - 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
Mauro Romito
6bafe8928d improved old code further 2022-10-19 18:20:22 +02:00
Mauro Romito
c70da7e805 improved old code 2022-10-19 18:11:55 +02:00
Mauro Romito
417c2bb9e0 fixing a legacy issue that sometime removed the placeholder 2022-10-19 18:01:24 +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
Mauro Romito
0eff7d1adc improving code 2022-10-19 17:03:56 +02:00
Mauro Romito
656510946a added a simple test 2022-10-19 16:40:07 +02:00
yostyle
076db5b6c2 Support mp4 audio file format 2022-10-19 16:36:49 +02:00
Mauro Romito
95805392a1 rich text composer placeholder text implemented using the same logic of the normal composer 2022-10-19 16:32:02 +02:00
Giom Foret
e1fff68287 Update the Voice Broadcast Labs flag description 2022-10-19 16:07:26 +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
Mauro Romito
0f6d6f1cf5 added placeholder to the viewModel 2022-10-19 15:08:12 +02:00
manuroe
4757cf5a67 VB: Improve playback states 2022-10-19 15:01:43 +02:00
Alfonso Grillo
69aa87067c
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
Alfonso Grillo
bda09a18f3 Add changelog.d file 2022-10-19 14:49:24 +02:00
Alfonso Grillo
26007be20e Improve http url interaction ux 2022-10-19 14:43:30 +02:00
Alfonso Grillo
3c5fb52d81 Remove clips to bounds for text views inside bubbles 2022-10-19 14:43:03 +02:00
Mauro Romito
dd390a0521 updated the package 2022-10-19 14:34:10 +02:00
Szimszon
229448e33c Translated using Weblate (Hungarian)
Currently translated at 100.0% (2302 of 2302 strings)

Translation: Element iOS/Element iOS
Translate-URL: https://translate.element.io/projects/riot-ios/riot-ios/hu/
2022-10-19 12:32:58 +00: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
yostyle
4216a731cb Add device_id and record tag 2022-10-19 13:10:59 +02:00
manuroe
1c048b5901 VB: Move view logic to the view model 2022-10-19 13:00:35 +02:00
yostyle
f2af0703b1 Aggregate chunks in voice broacast 2022-10-19 11:11:49 +02:00
Alfonso Grillo
e1a0db727c Add changelog.d file 2022-10-19 10:36:22 +02:00
Alfonso Grillo
8439e1828f Fix text view height issue 2022-10-19 10:30:20 +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
manuroe
4efcd62519 Simplify TimelineVoiceBroadcastDetails struct 2022-10-19 09:42:00 +02:00
manuroe
1c4c3033a0 Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-19 09:38:36 +02:00
manuroe
195c6b2e3a 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-19 09:34:58 +02:00
yostyle
318f40817e Check user id to prevent fake ckunk 2022-10-19 09:09:57 +02:00
yostyle
fc7d37a273 Add chunks in TimelineVoiceBroadcastDetails 2022-10-18 23:36:21 +02:00
yostyle
fb41abbcb0 Add some comments 2022-10-18 17:32:40 +02:00