Delete DASH tracks on reset on a ended state
Created by: patcheco1001
The problem #488 (closed) / #151 (closed) isn't completely resolved, on branchs 1.6.0 and development.
In "abort" function of SourceBufferExtensions/SourceBufferController, you said:
if (mediaSource.readyState === "open") { buffer.abort(); }
But if the ready state = "ended" you also need to delete the text tracks:
if(["open", "ended"].indexOf(mediaSource.readyState) !== -1)