-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix repeated segments issue during bandwidth update (#1477)
* select next segment using buffered.end + padding or early return until next playlist refresh * update comments * update tests * add comment * use const for 2 * TIME_FUDGE_FACTOR * Update src/segment-loader.js Co-authored-by: Adam Waldron <awaldron@brightcove.com> * chore: update tests * chore: call done after 2 sec play --------- Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com> Co-authored-by: Adam Waldron <awaldron@brightcove.com>
- Loading branch information
1 parent
8f3a4d1
commit 823f072
Showing
5 changed files
with
102 additions
and
25 deletions.
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
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