Commit Graph

21 Commits

Author SHA1 Message Date
giomfo 4c27eb275c Voice Broadcast - BugFix - send the last chunk (#7002)
* Voice Broadcast - BugFix - send the last chunk with the right sequence number

- we reset now and teardown the service only after the last chunk is sent
2022-10-28 12:46:08 +02:00
Yoan Pintas 2714f7fc66 Avoid simultaneous state changes (#6986) 2022-10-27 17:15:18 +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 94914db482 Voice Broadcast - Fix the chunk sequence number index
Bug: The first chunk index was 2 instead of 1
2022-10-25 09:56:02 +02:00
manuroe cd800125ae VB: Move VoiceBroadcastRecorderService into a MatrixSDK
to make pure SwiftUI projects build
2022-10-20 20:10:41 +02:00
Philippe Loriaux efc4dc3ed3 Enhance chunk sending mecanism in recorder service 2022-10-20 20:02:39 +02:00
Philippe Loriaux c310b4bfe2 Remove useless imports 2022-10-20 19:39:51 +02:00
Philippe Loriaux 3ee6a0050e Add missing update state after switching to resumed state 2022-10-20 19:39:51 +02:00
Philippe Loriaux 1309584ed8 Fix a potential crash when trying to send a nil chunk file (in case of stop immediately after pause) 2022-10-20 19:39:51 +02:00
Philippe Loriaux 1c5e011fbe Remove useless log in VoiceBroadcastRecorderService 2022-10-20 19:39:51 +02:00
Philippe Loriaux 73e03a6cb5 Add AAC to M4A converter and now convert chunks before sending them 2022-10-20 19:39:51 +02:00
Philippe Loriaux d5b56f4dc8 Update sequence number associated to chunk file sending 2022-10-20 19:39:51 +02:00
Philippe Loriaux 6abeab51e5 Update first chunk number 2022-10-20 19:39:50 +02:00
Philippe Loriaux 786ed091ec Update recording state after stopping voice broadcast on every cases 2022-10-20 19:39:50 +02:00
Philippe Loriaux bfa536eec3 Send the last chunk file after stopping or pausing a record 2022-10-20 19:39:50 +02:00
Philippe Loriaux 5fabf7c22b Fix recorder service for audio node after stopping a record 2022-10-20 19:39:50 +02:00
Philippe Loriaux 8d4f35fef3 Update recorder service 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
Philippe Loriaux 3dd173ff4b Fix missing parts on Voice broadcast recorder service 2022-10-20 19:39:50 +02:00
Philippe Loriaux 852586ef7b First part of the voice broadcast recording feature 2022-10-20 19:39:50 +02:00