From b41031eeac9b5a9976b10a93d620bfd108c8d97c Mon Sep 17 00:00:00 2001 From: Lei Nelissen Date: Sun, 14 Aug 2022 15:39:49 +0200 Subject: [PATCH] fix: Remove any restrictions on bitrate and samplerate --- src/utility/JellyfinApi.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/utility/JellyfinApi.ts b/src/utility/JellyfinApi.ts index 85412cc..1bb4bf0 100644 --- a/src/utility/JellyfinApi.ts +++ b/src/utility/JellyfinApi.ts @@ -13,16 +13,10 @@ function generateConfig(credentials: Credentials): RequestInit { } const baseTrackOptions: Record = { - // Not sure where this number refers to, but setting it to 140000000 appears - // to do wonders for making stuff work - // NOTE: Apparently setting a bitrate is as of yet unsupported in the - // Jellyfin core, and hence this value is not used - MaxStreamingBitrate: '140000000', - MaxSampleRate: '48000', // This must be set to support client seeking TranscodingProtocol: 'http', TranscodingContainer: 'aac', - Container: 'mp3,aac,m4a,m4b|aac,flac,alac,m4a,m4b|alac,flac|ogg', + Container: 'mp3,aac,m4a,m4b|aac,flac,alac,m4a,m4b|alac', static: 'true', };