-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: selectVariantTrack doesn't clear buffer if already selected #3477
Fix: selectVariantTrack doesn't clear buffer if already selected #3477
Conversation
@@ -318,7 +318,7 @@ shaka.media.StreamingEngine = class { | |||
* @param {boolean=} clearBuffer | |||
* @param {number=} safeMargin |
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.
- Would you please add "force" to the param list?
- Would you please leave a comment to explain how "force" works with "clearBuffer"?
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!
All tests passed! |
Thanks for your contributions! |
Thanks for this. Was adding a new parameter necessary though? Couldn't this be the default behavior when
|
Yes, and yes. The new parameter was on an internal class ( |
@joeyparrish Oh yeah, that's right, sorry! I mistakenly thought the new parameter was on |
No problem! It's an easy mistake to make. Thanks for using Shaka Player! |
Close: #3450