mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Add the last sequence number in the paused/stopped state event
This commit is contained in:
+4
-2
@@ -91,7 +91,8 @@ class VoiceBroadcastRecorderService: VoiceBroadcastRecorderServiceProtocol {
|
||||
UIApplication.shared.isIdleTimerDisabled = false
|
||||
invalidateTimer()
|
||||
|
||||
voiceBroadcastService?.stopVoiceBroadcast(success: { [weak self] _ in
|
||||
voiceBroadcastService?.stopVoiceBroadcast(lastChunkSequence: chunkFileNumber,
|
||||
success: { [weak self] _ in
|
||||
MXLog.debug("[VoiceBroadcastRecorderService] Stopped")
|
||||
|
||||
guard let self = self else { return }
|
||||
@@ -121,7 +122,8 @@ class VoiceBroadcastRecorderService: VoiceBroadcastRecorderServiceProtocol {
|
||||
UIApplication.shared.isIdleTimerDisabled = false
|
||||
invalidateTimer()
|
||||
|
||||
voiceBroadcastService?.pauseVoiceBroadcast(success: { [weak self] _ in
|
||||
voiceBroadcastService?.pauseVoiceBroadcast(lastChunkSequence: chunkFileNumber,
|
||||
success: { [weak self] _ in
|
||||
guard let self = self else { return }
|
||||
|
||||
// Send current chunk
|
||||
|
||||
Reference in New Issue
Block a user