-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IA appears to ignore BaseURL in representation in periods after the first #1500
Comments
looks like for some reason this code dont work inputstream.adaptive/src/Session.cpp Lines 1101 to 1119 in fb6aead
sound like a wrong chapter duration |
different channel with 2x periods. Kodi 21 does show "chapter 1/2" Just tested with latest master (997272c) and same issue |
@matthuisman can you test with current last ISA release that i fixed mpd TSB and period start? |
i have no dash multiperiod with so high timeshift time to test, diff --git a/src/parser/DASHTree.cpp b/src/parser/DASHTree.cpp
index e6537b4a..ab39e17f 100644
--- a/src/parser/DASHTree.cpp
+++ b/src/parser/DASHTree.cpp
@@ -222,10 +222,8 @@ bool adaptive::CDashTree::ParseManifest(const std::string& data)
uint64_t totalDuration{0}; // Calculated duration, in ms
uint64_t mpdTotalDuration = m_mediaPresDuration; // MPD total duration, in ms
- if (mpdTotalDuration == 0)
- mpdTotalDuration = m_timeShiftBufferDepth;
- if (!IsLive())
+ //if (!IsLive())
{
for (auto itPeriod = m_periods.begin(); itPeriod != m_periods.end();)
{
@@ -288,6 +286,9 @@ bool adaptive::CDashTree::ParseManifest(const std::string& data)
}
}
+ if (mpdTotalDuration == 0)
+ mpdTotalDuration = m_timeShiftBufferDepth;
+
if (mpdTotalDuration > 0)
m_totalTime = mpdTotalDuration;
else |
it doesnt switch the baseurl when going to the next period.
Always uses the baseurl from the first period (exchange219026anubr_219026_1600/hZrPcUpQ4/)
Log is me playing the 24 hour buffer live stream from the start.
It plays ok.
I then seek to future periods and start getting 404 due to it still trying to use the first periods baseurl
inputstream.adaptive v21.4.3
(doesnt seem to work on kodi 20 either)
manifest_1709440931.txt
kodi.log.txt
The text was updated successfully, but these errors were encountered: