fix(server): use libopus for transcoding (#4102)

* updated audio codec enum

* added migration

* updated api

* fixed enum

* formatting

* simplified migration
This commit is contained in:
Mert 2023-09-15 20:52:45 -04:00 committed by GitHub
parent 7fcc5a5417
commit 0a9b632e48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 8 deletions

View file

@ -752,7 +752,7 @@ export type AssetTypeEnum = typeof AssetTypeEnum[keyof typeof AssetTypeEnum];
export const AudioCodec = {
Mp3: 'mp3',
Aac: 'aac',
Opus: 'opus'
Libopus: 'libopus'
} as const;
export type AudioCodec = typeof AudioCodec[keyof typeof AudioCodec];