chore: Remove custom bitrate

This commit is contained in:
Krille 2023-10-30 08:57:27 +01:00
parent 6718104731
commit a9eb76983b
No known key found for this signature in database

View file

@ -31,9 +31,6 @@ class RecordingDialogState extends State<RecordingDialog> {
final _audioRecorder = AudioRecorder();
final List<double> amplitudeTimeline = [];
static const int bitRate =
64000; // Lower makes the audio messages unplayable on iOS for some reason
Future<void> startRecording() async {
try {
// We try to pick Opus where supported, since that is a codec optimized
@ -60,7 +57,6 @@ class RecordingDialogState extends State<RecordingDialog> {
autoGain: true,
noiseSuppress: true,
echoCancel: true,
bitRate: bitRate,
),
path: path,
);