mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-03 04:35:52 +00:00
added out of network bitrate limit
This commit is contained in:
1 parent
6e6ce82cf6
commit
b9c656e859
24 files changed
+136
-73
No files matched your search
@@ -59,7 +59,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
state.IsInputVideo = string.Equals(item.MediaType, MediaType.Video, StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
var mediaSources = await _mediaSourceManager.GetPlayackMediaSources(request.ItemId, false, cancellationToken).ConfigureAwait(false);
|
||||
var mediaSources = await _mediaSourceManager.GetPlayackMediaSources(request.ItemId, null, false, new[] { MediaType.Audio, MediaType.Video }, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
var mediaSource = string.IsNullOrEmpty(request.MediaSourceId)
|
||||
? mediaSources.First()
|
||||
|
||||
Reference in new issue
Block a user