Merge pull request #493 from neilsb/auth-header

This commit is contained in:
Anthony Lavado 2021-10-12 14:08:39 -04:00 committed by GitHub
commit ba3d9efb38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,12 +38,13 @@ function getDeviceProfile() as object
tsAudioCodecs = "aac"
end if
DirectPlayProfile = GetDirectPlayProfiles()
return {
"MaxStreamingBitrate": 120000000,
"MaxStaticBitrate": 100000000,
"MusicStreamingTranscodingBitrate": 192000,
"DirectPlayProfiles": GetDirectPlayProfiles(),
"DirectPlayProfiles": DirectPlayProfile,
"TranscodingProfiles": [
{
"Container": "aac",
@ -111,6 +112,18 @@ function getDeviceProfile() as object
}
]
},
{
"Type": "VideoAudio",
"Codec": DirectPlayProfile[1].AudioCodec, ' Use supported MKV Audio list
"Conditions": [
{
"Condition": "LessThanEqual",
"Property": "AudioChannels",
"Value": StrI(maxAudioChannels) ' Currently Jellyfin server expects this as a string
"IsRequired": false
}
]
},
{
"Type": "Video",
"Codec": "h264",