Skip to content

Commit

Permalink
- Force use of "audio/mp4" mime-type for .aac files.
Browse files Browse the repository at this point in the history
  • Loading branch information
hardiesoft committed Nov 5, 2024
1 parent 6e1ff97 commit 25e1222
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/api/V1/recordingUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1356,6 +1356,9 @@ export function signedToken(
export const guessMimeType = (type, filename): string => {
const mimeType = mime.getType(filename);
if (mimeType) {
if (mimeType === "audio/x-aac") {
return "audio/mp4";
}
return mimeType;
}
switch (type) {
Expand Down

0 comments on commit 25e1222

Please sign in to comment.