Skip to content

fix: #3585 ensure init segment appended

Vinay Rosenberg requested to merge github/fork/orange4glace/fix/3585 into development

Created by: orange4glace

fix #3585 (closed)

Currently the ScheduleController sets its current last initialized quality when it fires INIT_FRAGMENT_NEEDED event. This seems correct most of the time except if appending init segment is failed. Firing INIT_FRAGMENT_NEEDED does not guarantee that init fragment is appended. It can be cancelled or aborted by network error or something. We have to set last initialized quality when the init segment is actually appended to the SourceBuffer.

If it can be accepted, I wish this to be merged into 3.2.x if possible.

Merge request reports