mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update components
This commit is contained in:
parent
911d9f4598
commit
cf4f5039bf
@ -107,7 +107,7 @@ namespace MediaBrowser.Api.Playback
|
|||||||
{
|
{
|
||||||
var authInfo = AuthorizationContext.GetAuthorizationInfo(Request);
|
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;
|
var profile = request.DeviceProfile;
|
||||||
if (profile == null)
|
if (profile == null)
|
||||||
|
@ -456,7 +456,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_logger.Error("Failed to update MediaSource timestamp for {0}", id);
|
_logger.Error("Failed to ping live stream {0}", id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
@ -540,7 +540,7 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||||||
}
|
}
|
||||||
|
|
||||||
private Timer _closeTimer;
|
private Timer _closeTimer;
|
||||||
private readonly TimeSpan _openStreamMaxAge = TimeSpan.FromSeconds(60);
|
private readonly TimeSpan _openStreamMaxAge = TimeSpan.FromSeconds(180);
|
||||||
|
|
||||||
private void StartCloseTimer()
|
private void StartCloseTimer()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user