Commit graph

40 commits

Author SHA1 Message Date
Nicolas Mauri
c0e5697f07 Inform the user about decryption errors during a voice broadcast 2023-01-25 17:23:42 +01:00
Andy Uhnak
0c17457299 Fix compile error 2023-01-23 17:14:11 +00:00
Yoan Pintas
02477cc240
Handle a connection issue when we try to start a new voice broadcast (#7276) 2023-01-17 14:49:36 +00:00
Nicolas Mauri
f8a851b5dd Make sure we store the last block sequence sent (even if it's 0) 2023-01-16 16:00:18 +01:00
Nicolas Mauri
ee51fc7485 Improved voice broadcast completion detection during playback 2023-01-16 14:37:53 +01:00
Yoan Pintas
490c7bc19e
Delete an existing broadcast (#7219) 2023-01-10 09:32:18 +00:00
Phl-Pro
ece07c4446
VoiceBroadcast: Manage app crash cases when recording (#7188)
* Cancel automatically a Voice Broadcast from a room after an app crash
* We limit for the moment the uncompleted voice broadcast cleaning to the breadcrumbs rooms list

By considering potential performance issues, we decided to limit the uncompleted VB cleaning in the recents list service:
- we run the process only once when the application is resumed
- we run the process only on the breadcrumbs rooms list

This prevent us from checking several times in parallel the same room (because a room may be listed in several recents sections)
This prevent us from checking several times the same room (each room should be checked only once after the app resume)
If a room is not checked from the recents list, a sanity check is still done in RoomViewController (to clean the room when the user opens it)
2022-12-23 15:25:52 +01:00
Yoan Pintas
7a513cf0e5
[Voice Broadcast] Add chunk after decrypting the event. (#7181) 2022-12-19 19:32:01 +01:00
Yoan Pintas
3e9b3aa877
Update the room description in the rooms list in case of live broadcast (incoming or outgoing) (#7160) 2022-12-19 19:26:55 +01:00
Philippe Loriaux
ca8e98fd79 Update last PR comment 2022-12-02 18:22:58 +01:00
Philippe Loriaux
b1c23674fd Fix PR comments 2022-12-02 17:45:24 +01:00
Philippe Loriaux
bd09dcb763 Add the last sequence number in the paused/stopped state event 2022-12-02 16:26:34 +01:00
Phl-Pro
52e90aa507
Merge branch 'develop' into phlpro/voicebroadcast-display-playback-duration 2022-11-28 09:12:03 +01:00
Yoan Pintas
17b45aa79b
Support voice broadcast live playback (#7094) 2022-11-25 20:59:34 +01:00
Philippe Loriaux
67521e76e4 Remove useless error states 2022-11-25 16:27:24 +01:00
Philippe Loriaux
c0ae94031a Add VBAggregatorLaunchState in Aggregator 2022-11-25 15:23:52 +01:00
Yoan Pintas
11bdddc8c0
Add voice broadcast slider (#7010) 2022-11-14 17:16:14 +01:00
Yoan Pintas
3d855db758
Avoid simultaneous state changes (#6986) 2022-10-27 17:15:18 +02:00
Giom Foret
f08ebbaa29 Voice Broadcast: log and block unexpected state change 2022-10-26 12:28:40 +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
745429089a
Avoid unnecessary send state request (#6970) 2022-10-25 16:51:03 +02:00
Giom Foret
34168e418d Enhance RoomBubbleCellData handling
- detect correctly an actual live recording
- update the tile display at the end of a live recording
2022-10-20 19:39:51 +02:00
Giom Foret
81f97d44c0 BF Ignore redacted voice broadcast state event (their content is empty) 2022-10-20 19:39:50 +02:00
Philippe Loriaux
75f9e9ad32 Add sequence value when sending chunk files 2022-10-20 19:39:50 +02:00
yostyle
3908d62fe0 Update UI 2022-10-20 18:48:20 +02:00
yostyle
b1cde5f719 Display live voice broadcast 2022-10-20 16:48:20 +02:00
manuroe
caea678d74 VB: Own code review 2022-10-20 13:39:27 +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
d04c2ea704 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
yostyle
0862ffb13f Add device_id and record tag 2022-10-20 01:45:57 +02:00
yostyle
a3add5b793 Aggregate chunks in voice broacast 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
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
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
Yoan Pintas
c8ceb52287
[Voice Broadcast] Aggregate the chunks of voice messages in room timeline (#6891) 2022-10-17 18:23:47 +02:00
Doug
be25adc21d Fix RiotTests. 2022-10-12 14:42:24 +01:00
Yoan Pintas
3488b67976
Add voice broadcast state event (#6785) 2022-10-12 11:30:38 +02:00