-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 management of dash segment template index references for multiperiod live DASH streams #3419
Closed
caridley
wants to merge
8
commits into
shaka-project:master
from
caridley:dashSegmentTemplatePeriodEnd
Closed
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
307e2e1
Prevent segment template indexes from continuing to grow after a fini…
caridley 4c383e8
Add Charter Communication Inc to AUTHORS and Aidan Ridley <aidan.ridl…
caridley 0cc3f31
Merge branch 'master' into dashSegmentTemplatePeriodEnd
caridley 3efe2d9
Address code review comments
caridley 6d9bdae
Update jsdoc comment for getIteratorForTime()
caridley c771f14
Require SegmentIndex.iterator to always return an iterator.
caridley 43df170
Add warning that was accidentally removed
caridley 69d7e26
make SegmentIterator.seek() set currentPosition to Number.MAX_VALUE w…
caridley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ Benjamin Wallberg <[email protected]> | |
Bonnier Broadcasting <*@bonnierbroadcasting.com> | ||
Bryan Huh <[email protected]> | ||
Code It <*@code-it.fr> | ||
Charter Communications Inc <*@charter.com> | ||
Damien Deis <[email protected]> | ||
Dany L'Hébreux <[email protected]> | ||
Esteban Dosztal <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
# Please keep the list sorted. | ||
|
||
Aaron Vaage <[email protected]> | ||
Aidan Ridley <[email protected]> | ||
Alex Jones <[email protected]> | ||
Alvaro Velad Galvan <[email protected]> | ||
Amila Sampath <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has the effect of making seek() equivalent to next() on time values in the future. Although seek() is deprecated, I think this might break the contract of seek() for anyone who is still using it in their applications.
If iter is null, please set currentPosition_ to something large, like Number.MAX_VALUE, to ensure seek() works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do..
The only use of this seek() function that I could find is in the unit tests, and it doesn't seem like this would be accessible for direct use by applications. Can we just remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ultimately, yes, we will remove it. But for backward compatibility reasons, we can't remove it until Shaka Player v4. It's exported to the application, and may be used by private plugins. So for now, we need to make sure it still works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done