From a9eb76983b2bd776880470df02007089a35fb981 Mon Sep 17 00:00:00 2001 From: Krille Date: Mon, 30 Oct 2023 08:57:27 +0100 Subject: [PATCH] chore: Remove custom bitrate --- lib/pages/chat/recording_dialog.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/pages/chat/recording_dialog.dart b/lib/pages/chat/recording_dialog.dart index 881727af7..2546cdbde 100644 --- a/lib/pages/chat/recording_dialog.dart +++ b/lib/pages/chat/recording_dialog.dart @@ -31,9 +31,6 @@ class RecordingDialogState extends State { final _audioRecorder = AudioRecorder(); final List amplitudeTimeline = []; - static const int bitRate = - 64000; // Lower makes the audio messages unplayable on iOS for some reason - Future startRecording() async { try { // We try to pick Opus where supported, since that is a codec optimized @@ -60,7 +57,6 @@ class RecordingDialogState extends State { autoGain: true, noiseSuppress: true, echoCancel: true, - bitRate: bitRate, ), path: path, );