Browse Source

Merge pull request #167 from joshuaboniface/ffmpeg-timeout

Lower the ffmpeg stop timeout duration
Andrew Rabert 6 năm trước cách đây
mục cha
commit
67aa6dacb2
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      MediaBrowser.Api/ApiEntryPoint.cs

+ 3 - 0
MediaBrowser.Api/ApiEntryPoint.cs

@@ -421,12 +421,15 @@ namespace MediaBrowser.Api
                 return;
             }
 
+            /*
             var timerDuration = 10000;
 
             if (job.Type != TranscodingJobType.Progressive)
             {
                 timerDuration = 60000;
             }
+            */
+            var timerDuration = 2000;
 
             job.PingTimeout = timerDuration;
             job.LastPingDate = DateTime.UtcNow;