mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
added hls changes for live tv
This commit is contained in:
@@ -265,7 +265,7 @@ namespace MediaBrowser.Api.Playback
|
||||
|
||||
if (cpuCount >= 4)
|
||||
{
|
||||
return EncodingQuality.HighQuality;
|
||||
//return EncodingQuality.HighQuality;
|
||||
}
|
||||
|
||||
return EncodingQuality.HighSpeed;
|
||||
@@ -1418,6 +1418,9 @@ namespace MediaBrowser.Api.Playback
|
||||
|
||||
state.HasMediaStreams = mediaStreams.Count > 0;
|
||||
|
||||
state.SegmentLength = state.ReadInputAtNativeFramerate ? 3 : 10;
|
||||
state.HlsListSize = state.ReadInputAtNativeFramerate ? 20 : 1440;
|
||||
|
||||
return state;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user