mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
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:
parent
7fcc5a5417
commit
0a9b632e48
7 changed files with 29 additions and 8 deletions
2
web/src/api/open-api/api.ts
generated
2
web/src/api/open-api/api.ts
generated
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue