Skip to content

Commit

Permalink
Increase max. length of voice message recordings to 5m
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Jun 7, 2023
1 parent 1e5809d commit 3d4e371
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import DSWaveformImage
public class VoiceMessageController: NSObject, VoiceMessageToolbarViewDelegate, VoiceMessageAudioRecorderDelegate, VoiceMessageAudioPlayerDelegate {

private enum Constants {
static let maximumAudioRecordingDuration: TimeInterval = 120.0
static let maximumAudioRecordingDuration: TimeInterval = 300.0
static let maximumAudioRecordingLengthReachedThreshold: TimeInterval = 10.0
static let elapsedTimeFormat = "m:ss"
static let fileNameDateFormat = "MM.dd.yyyy HH.mm.ss"
Expand Down

0 comments on commit 3d4e371

Please sign in to comment.