From 8744accd3a5cd4c6c80407c4d7cf7e8725d9bb34 Mon Sep 17 00:00:00 2001 From: Yuriy Liskov Date: Thu, 11 Aug 2022 05:14:58 +0300 Subject: [PATCH] player: dash live stream: recreate missing segments: upd --- .../common/exoplayer/LiveDashManifestParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/liskovsoft/smartyoutubetv2/common/exoplayer/LiveDashManifestParser.java b/common/src/main/java/com/liskovsoft/smartyoutubetv2/common/exoplayer/LiveDashManifestParser.java index 47de75784..110ec3962 100644 --- a/common/src/main/java/com/liskovsoft/smartyoutubetv2/common/exoplayer/LiveDashManifestParser.java +++ b/common/src/main/java/com/liskovsoft/smartyoutubetv2/common/exoplayer/LiveDashManifestParser.java @@ -32,7 +32,7 @@ import java.util.List; public class LiveDashManifestParser extends DashManifestParser { private static final String TAG = LiveDashManifestParser.class.getSimpleName(); private static final long MAX_PAST_STREAM_LENGTH_MS = 8 * 60 * 60 * 1_000; // 8 hours - private static final long MAX_LIVE_STREAM_LENGTH_MS = 4 * 60 * 60 * 1_000; // 4 hours (higher values may cause problems, e.g. url not working) + private static final long MAX_LIVE_STREAM_LENGTH_MS = 1 * 60 * 60 * 1_000; // higher values may cause problems, e.g. url not working private DashManifest mOldManifest; private long mOldSegmentNum;