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.
- Would you please add "force" to the param list?
- Would you please leave a comment to explain how "force" works with "clearBuffer"?
|
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