aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ApiEntryPoint.cs
diff options
context:
space:
mode:
authorTavares André <tavares_and@hotmail.com>2015-05-26 18:31:47 +0200
committerTavares André <tavares_and@hotmail.com>2015-05-26 18:31:47 +0200
commitfb597815483c470b8f5218b4e2324bdf930df7ad (patch)
tree291d325783a8d491079479590d467183de175a64 /MediaBrowser.Api/ApiEntryPoint.cs
parent428dfd183d224b9ec1e85828319399d80e1876e0 (diff)
parent217c5fbe749d39554f23c1d9701d7260c1c5b0d0 (diff)
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
Diffstat (limited to 'MediaBrowser.Api/ApiEntryPoint.cs')
-rw-r--r--MediaBrowser.Api/ApiEntryPoint.cs18
1 files changed, 12 insertions, 6 deletions
diff --git a/MediaBrowser.Api/ApiEntryPoint.cs b/MediaBrowser.Api/ApiEntryPoint.cs
index 2a72854fb..05ff503e4 100644
--- a/MediaBrowser.Api/ApiEntryPoint.cs
+++ b/MediaBrowser.Api/ApiEntryPoint.cs
@@ -339,14 +339,17 @@ namespace MediaBrowser.Api
return;
}
- var timerDuration = job.Type == TranscodingJobType.Progressive ?
- 1000 :
- 1800000;
+ var timerDuration = 1000;
- // We can really reduce the timeout for apps that are using the newer api
- if (!string.IsNullOrWhiteSpace(job.PlaySessionId) && job.Type != TranscodingJobType.Progressive)
+ if (job.Type != TranscodingJobType.Progressive)
{
- timerDuration = 50000;
+ timerDuration = 1800000;
+
+ // We can really reduce the timeout for apps that are using the newer api
+ if (!string.IsNullOrWhiteSpace(job.PlaySessionId))
+ {
+ timerDuration = 60000;
+ }
}
job.PingTimeout = timerDuration;
@@ -628,6 +631,9 @@ namespace MediaBrowser.Api
/// </summary>
/// <value>The live stream identifier.</value>
public string LiveStreamId { get; set; }
+
+ public bool IsLiveOutput { get; set; }
+
/// <summary>
/// Gets or sets the path.
/// </summary>