Skip to content

Commit

Permalink
Remove mpd.timeShiftBufferDepth !== Number.POSITIVE_INFINITY restrict…
Browse files Browse the repository at this point in the history
…ion from calculation of AST
  • Loading branch information
dsilhavy committed Jul 20, 2021
1 parent 37d815b commit 88e06a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dash/utils/TimelineConverter.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function TimelineConverter() {
availabilityTime = mpd.availabilityEndTime;
}
} else {
if (isDynamic && mpd.timeShiftBufferDepth !== Number.POSITIVE_INFINITY) {
if (isDynamic) {
// SAST = Period@start + seg@presentationStartTime + seg@duration
// ASAST = SAST - ATO
const availabilityTimeOffset = representation.availabilityTimeOffset;
Expand Down

0 comments on commit 88e06a5

Please sign in to comment.