Skip to content
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

fix(FEC-11473): start of dvr window is going back and forth while start over #165

Merged
merged 11 commits into from
Aug 23, 2021

Conversation

yairans
Copy link
Contributor

@yairans yairans commented Aug 8, 2021

Description of the Changes

shaka is increasing the seekRange.start between manifest loadings.
so ignore this update if it's start over.

Solves FEC-11473

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@yairans yairans requested a review from a team August 8, 2021 12:10
@yairans yairans self-assigned this Aug 8, 2021
OrenMe
OrenMe previously approved these changes Aug 9, 2021
return this._shaka.seekRange().start + this._shaka.getConfiguration().streaming.safeSeekOffset;
if (!this._isStartOver) {
if (this._seekRangeStart > this._shaka.seekRange().start) {
// seekRange().start seeked back means this is start over
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this will only happen for segment list manifests, correct? and also only if api is called in times where condition this._seekRangeStart > this._shaka.seekRange().start is true which doesn't happen all the time.
I think if this is the case we can still leave the calculation in manifest request where this condition will always be correct for segment list manifest

Copy link
Contributor Author

@yairans yairans Aug 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on manifest request this._shaka.seekRange().start is not updated yet so the condition is still false

@yairans yairans merged commit d122166 into master Aug 23, 2021
@yairans yairans deleted the FEC-11473 branch August 23, 2021 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants