-
Notifications
You must be signed in to change notification settings - Fork 21
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
BADGERS-245: [BREAKING] Remove windowType metadata #364
base: master
Are you sure you want to change the base?
Conversation
…p associated tests
Co-authored-by: matt-stephenson <[email protected]>
src/dynamicwindowutils.ts
Outdated
return liveSupport === LiveSupport.SEEKABLE || liveSupport === LiveSupport.RESTARTABLE | ||
} | ||
|
||
export function canSeek(liveSupport: LiveSupport, seekableRange: unknown): boolean { |
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.
Could maybe remove some duplication here and have "canPauseAndSeek" & "supportsPauseAndSeek" since they are doing the same thing.
You could still export different function names so you keep canSeek and canPause for consumption.
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.
Good shout!
…mainfest to parse
…aving a mainfest to parse" This reverts commit bc9b502.
📺 What
Remove BigscreenPlayer's reliance on
windowType
metadata. We've chosen to change the time representation for BigscreenPlayer with this change.🛠 How
TimeShiftDetector
to detect a sliding seekable range and activate auto-resumeMediaSources
to TypeScriptTODO: