Commit Graph

38 Commits

Author SHA1 Message Date
Yoan Pintas 947f67ec93 Handle a connection issue when we try to start a new voice broadcast (#7276) 2023-01-17 14:49:36 +00:00
Nicolas Mauri 763d7d1a8a Make sure we store the last block sequence sent (even if it's 0) 2023-01-16 16:00:18 +01:00
Nicolas Mauri a65e02b7b9 Improved voice broadcast completion detection during playback 2023-01-16 14:37:53 +01:00
Yoan Pintas c3322ea747 Delete an existing broadcast (#7219) 2023-01-10 09:32:18 +00:00
Phl-Pro 22aceb6040 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 4779c4b5fb [Voice Broadcast] Add chunk after decrypting the event. (#7181) 2022-12-19 19:32:01 +01:00
Yoan Pintas f6670ec5d0 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 6abdcc6740 Update last PR comment 2022-12-02 18:22:58 +01:00
Philippe Loriaux db97d1d94b Fix PR comments 2022-12-02 17:45:24 +01:00
Philippe Loriaux f5889bfb6f Add the last sequence number in the paused/stopped state event 2022-12-02 16:26:34 +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 71a3350702 Remove useless error states 2022-11-25 16:27:24 +01:00
Philippe Loriaux 8af52a2ac9 Add VBAggregatorLaunchState in Aggregator 2022-11-25 15:23:52 +01:00
Yoan Pintas 91c5936a24 Add voice broadcast slider (#7010) 2022-11-14 17:16:14 +01:00
Yoan Pintas 2714f7fc66 Avoid simultaneous state changes (#6986) 2022-10-27 17:15:18 +02:00
Giom Foret da1e65e3ed Voice Broadcast: log and block unexpected state change 2022-10-26 12:28:40 +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 7065ab2b4e Avoid unnecessary send state request (#6970) 2022-10-25 16:51:03 +02:00
Giom Foret e5571371fb 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 e2c7dda534 BF Ignore redacted voice broadcast state event (their content is empty) 2022-10-20 19:39:50 +02:00
Philippe Loriaux 0c86dbd7da Add sequence value when sending chunk files 2022-10-20 19:39:50 +02:00
yostyle dcc3b6375b Update UI 2022-10-20 18:48:20 +02:00
yostyle 0b77d674ce Display live voice broadcast 2022-10-20 16:48:20 +02:00
manuroe 34a49f966a VB: Own code review 2022-10-20 13:39:27 +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 c51287a490 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
yostyle bd55885f8d Add device_id and record tag 2022-10-20 01:45:57 +02:00
yostyle 8adf320cab Aggregate chunks in voice broacast 2022-10-20 01:45:57 +02:00
manuroe 2bce98f1c7 Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-20 01:45:57 +02:00
yostyle 1c171b61f4 Check user id to prevent fake ckunk 2022-10-20 01:45:57 +02:00
yostyle c0afefb4c8 Add chunks in TimelineVoiceBroadcastDetails 2022-10-20 01:45:57 +02:00
yostyle edca596f49 Add some comments 2022-10-20 01:45:57 +02:00
Giom Foret 68f2b1cdef 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 5279338e62 [Voice Broadcast] Aggregate the chunks of voice messages in room timeline (#6891) 2022-10-17 18:23:47 +02:00
Doug bbd3470659 Fix RiotTests. 2022-10-12 14:42:24 +01:00
Yoan Pintas fb066ea869 Add voice broadcast state event (#6785) 2022-10-12 11:30:38 +02:00