From abb7df77859bf03ebc98627476a0b850dc472d6c Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Wed, 5 Jul 2023 14:56:16 -0300 Subject: [PATCH] tweak at audio comment extension --- app/lib/methods/handleMediaDownload.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/methods/handleMediaDownload.ts b/app/lib/methods/handleMediaDownload.ts index e7d94c1b1..b8418c45d 100644 --- a/app/lib/methods/handleMediaDownload.ts +++ b/app/lib/methods/handleMediaDownload.ts @@ -66,7 +66,8 @@ const getExtension = (type: MediaTypes, mimeType?: string) => { if (mimeType === 'audio/mpeg') { return 'mp3'; } - // For older audios the server is returning the type audio/aac and we can't play it as mp3 + // Audios sent by Android devices are in the audio/aac format, which cannot be converted to mp3 by iOS. + // However, both platforms support the m4a format, so they can maintain the same behavior. if (mimeType === 'audio/aac') { return 'm4a'; }