-
Notifications
You must be signed in to change notification settings - Fork 426
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
Multi period dash VOD fixes #1551
Conversation
…aylist trigger for the main segment loader
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1551 +/- ##
==========================================
- Coverage 84.08% 83.97% -0.11%
==========================================
Files 43 44 +1
Lines 11646 11681 +35
Branches 2604 2612 +8
==========================================
+ Hits 9792 9809 +17
- Misses 1854 1872 +18 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
…eriod-dash-vod-fixes
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.
🚢 it
// Adding a slight debounce to avoid duplicate calls during rapid quality changes, for example: | ||
// When selecting quality from the quality list, | ||
// where we may have multiple bandwidth profiles for the same vertical resolution. | ||
this.fastQualityChange_ = debounce(this.fastQualityChange_.bind(this), 100); |
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.
Thank you for actually adding this! This has been on my list of "quick improvements" to fast quality change for a while and keeps getting buried by other priorities.
@@ -962,6 +977,24 @@ export class PlaylistController extends videojs.EventTarget { | |||
this.tech_.setCurrentTime(newTime); | |||
}); | |||
|
|||
this.timelineChangeController_.on('fixBadTimelineChange', () => { |
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.
Also love moving this to the playlist-controller level. 🥇
Specific Changes proposed
For example, when we select quality from the quality list with multiple bandwidth profiles for the same vertical resolution, it will call for fast quality changes for multiple playlists one by one.
isPaused
for the dash playlist loader. This fixes duplicate load calls whenmediachange
is fired. See this PR for more info fix: Restart masterPlaylistLoader after media change #1339)Requirements Checklist