Update HLSLiveDownloader.cs

This commit is contained in:
nilaoda
2022-06-22 11:43:36 +08:00
committed by GitHub
parent 94246ef163
commit 41d7151e7e

View File

@@ -128,6 +128,7 @@ namespace N_m3u8DL_CLI
sd.Iv = info["iv"].Value<string>();
}
sd.TimeOut = (int)timer.Interval - 1000;//超时时间不超过下次执行时间
if (sd.TimeOut <= 0) sd.TimeOut = (int)timer.Interval;
sd.SegIndex = index;
sd.Headers = Headers;
sd.SegDur = info["duration"].Value<double>();