chore(server): change transcode default to accept all supported audio codecs (#7283)

* change transcode defaults

* don't untick accepted audio codecs

* no need to change the transcode policy

* fix tests

* remove log
This commit is contained in:
Mert 2024-02-21 00:25:30 -05:00 committed by GitHub
parent 7c34d0595e
commit 397570ad1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 50 additions and 43 deletions

View file

@ -43,7 +43,7 @@ const updatedConfig = Object.freeze<SystemConfig>({
threads: 0,
preset: 'ultrafast',
targetAudioCodec: AudioCodec.AAC,
acceptedAudioCodecs: [AudioCodec.AAC],
acceptedAudioCodecs: [AudioCodec.AAC, AudioCodec.MP3, AudioCodec.LIBOPUS],
targetResolution: '720',
targetVideoCodec: VideoCodec.H264,
acceptedVideoCodecs: [VideoCodec.H264],