Skip to content

Does dash.js support setting a positive (or negative) eptDelta value on SegmentBase (indexed addressing)? #4038

Answered by dsilhavy
gldraphael asked this question in Q&A
Discussion options

You must be logged in to vote

This is how we use ´presentationTimeOffset` in dash.js:

SourceBuffer@timestampOffset = Period@start - @presentationTimeOffset
Position of the segment in the buffer = earliestPresentationTime + SourceBuffer@timestampOffet

We are not using @eptDelta from the manifest. It is implicitly known for SegmentTimeline as it is defined as the difference between the EPT and the @presentationTimeOffset.

A problem for MSE based players is a negative @eptDelta as it creates an overlap with the previous period. Since we use the appendWindow attribute of the SourceBuffer and align this with the period boundaries it can create gaps in the timeline. I wrote about this in more detail here: https://websites.…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gldraphael
Comment options

@dsilhavy
Comment options

@gldraphael
Comment options

Answer selected by gldraphael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants