-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Delete DASH tracks on reset on a ended state #1394
Comments
The code you link has nothing to do with deleting TextTracks. Your suggestion is not something we would want to do because calling Can you provide a further information on the problem you are seeing? [1] https://w3c.github.io/media-source/#widl-SourceBuffer-abort-void |
This is the call stack after we're calling
I have two contents with subtitles. When I called |
Can you confirm you have tested this with either http://dashif.org/reference/players/javascript/v2.1.1/samples/dash-if-reference-player/index.html or the latest development branch? This appears to be working for me in the latest dev branch in Chrome on Windows 7. What UA, OS are you using? |
I confirm. For both.
You can see the first text track of the first video. |
I still can't reproduce your problem, but I can understand why it might be happening. This is probably another example of TextSourceBuffer violating the API of SourceBuffer while attempting to polyfill - see #685 (comment) for the other example. As mentioned above, the purpose of the As also mentioned above, MSE specifies an exception must be thrown if I suspect the
This raises the question again about whether TextSourceBuffer is an appropriate polyfill for SourceBuffer. |
It's strange that you can't reproduce the problem. I use W10 64bit with Chrome 50 and Firefox 43.0.1. |
Yes, because the |
Fixed in #3170 |
The problem #488 / #151 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)
The text was updated successfully, but these errors were encountered: