mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 10:44:50 +03:00
update live stream bitrates
This commit is contained in:
@@ -72,9 +72,14 @@ namespace MediaBrowser.Model.Dto
|
||||
SupportsProbing = true;
|
||||
}
|
||||
|
||||
public void InferTotalBitrate()
|
||||
public void InferTotalBitrate(bool force = false)
|
||||
{
|
||||
if (Bitrate.HasValue || MediaStreams == null)
|
||||
if (MediaStreams == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!force && Bitrate.HasValue)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user