-
Notifications
You must be signed in to change notification settings - Fork 793
Fix fast quality change for alternate audio #1046
Conversation
@@ -698,7 +698,7 @@ export class MasterPlaylistController extends videojs.EventTarget { | |||
this.masterPlaylistLoader_.media(media); | |||
|
|||
this.mainSegmentLoader_.resetLoader(); | |||
if (this.audiosegmentloader_) { |
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.
surprised this went unnoticed for so long being cased incorrectly 😄
src/master-playlist-controller.js
Outdated
@@ -698,7 +698,7 @@ export class MasterPlaylistController extends videojs.EventTarget { | |||
this.masterPlaylistLoader_.media(media); | |||
|
|||
this.mainSegmentLoader_.resetLoader(); | |||
if (this.audiosegmentloader_) { | |||
if (this.audioPlaylistLoader_) { |
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.
Why should this be audioPlaylistLoader_
vs audioSegmentLoader_
?
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.
audioSegmentLoader_
always exists, even if not being used. audioPlaylistLoader_
only exists if we are using alt audio
Is it even necessary to reset the audio loader on fast quality change? If |
We decided to remove the code if it is redundant and to add a test to prove that it was not necessary. |
No description provided.