The Free Software Media System - Server Backend & API
update components
Luke Pulverenticf4f5039bffa
diff --git a/MediaBrowser.Api/Playback/MediaInfoService.cs b/MediaBrowser.Api/Playback/MediaInfoService.csindex 761538c83c..7fe7d5a21d 100644--- a/MediaBrowser.Api/Playback/MediaInfoService.cs+++ b/MediaBrowser.Api/Playback/MediaInfoService.cs@@ -107,7 +107,7 @@ namespace MediaBrowser.Api.Playback{var authInfo = AuthorizationContext.GetAuthorizationInfo(Request);- var result = await _mediaSourceManager.OpenLiveStream(request, false, CancellationToken.None).ConfigureAwait(false);+ var result = await _mediaSourceManager.OpenLiveStream(request, true, CancellationToken.None).ConfigureAwait(false);var profile = request.DeviceProfile;if (profile == null)diff --git a/MediaBrowser.Server.Implementations/Library/MediaSourceManager.cs b/MediaBrowser.Server.Implementations/Library/MediaSourceManager.csindex c7650102f7..ae32bdaf7a 100644--- a/MediaBrowser.Server.Implementations/Library/MediaSourceManager.cs+++ b/MediaBrowser.Server.Implementations/Library/MediaSourceManager.cs@@ -456,7 +456,7 @@ namespace MediaBrowser.Server.Implementations.Library}else{- _logger.Error("Failed to update MediaSource timestamp for {0}", id);+ _logger.Error("Failed to ping live stream {0}", id);}}finally@@ -540,7 +540,7 @@ namespace MediaBrowser.Server.Implementations.Library}private Timer _closeTimer;- private readonly TimeSpan _openStreamMaxAge = TimeSpan.FromSeconds(60);+ private readonly TimeSpan _openStreamMaxAge = TimeSpan.FromSeconds(180);private void StartCloseTimer(){