mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 18:54:26 -04:00
Fix MaxBitrate
This commit is contained in:
parent
4d324046ac
commit
b5342bb7d9
@ -505,11 +505,8 @@ namespace MediaBrowser.Api.Playback
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mediaSource.SupportsTranscoding)
|
if (mediaSource.SupportsTranscoding)
|
||||||
{
|
|
||||||
if (mediaSource.IsRemote && user.Policy.ForceRemoteSourceTranscoding)
|
|
||||||
{
|
{
|
||||||
options.MaxBitrate = GetMaxBitrate(maxBitrate, user);
|
options.MaxBitrate = GetMaxBitrate(maxBitrate, user);
|
||||||
}
|
|
||||||
|
|
||||||
// The MediaSource supports direct stream, now test to see if the client supports it
|
// The MediaSource supports direct stream, now test to see if the client supports it
|
||||||
var streamInfo = string.Equals(item.MediaType, MediaType.Audio, StringComparison.OrdinalIgnoreCase)
|
var streamInfo = string.Equals(item.MediaType, MediaType.Audio, StringComparison.OrdinalIgnoreCase)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user