-
Notifications
You must be signed in to change notification settings - Fork 57
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
The fetch step in HTML5.1's resource fetch algorithm no longer exists #99
Comments
This seems to me to be an editorial change. Please update if you disagree. |
It seems to me that the only monkey-patch we need is to say that a MediaSource media provider object can be attached using The new resource fetch algorithm already seems to support MediaSource as a media provider object, even if we do not specify that it can be attached with I guess we should also say that in the case a MediaSource is attached via |
I'll begin work on this shortly. |
Note that whatwg/html#1037 is what moved the MediaSource objectURL piece to the "local" branch in the resource selection algorithm in HTML5.1. However, I don't see the specific text there which would effectively make this MSE issue much simpler (perhaps just a non-normative note that srcObject support for MSE is a quality of implementation issue). edit: edit: |
This is a bit of a mess and I'm not a neutral third party, but let's see... w3c/html is maintained by a separate group of people, and copying changes from whatwg/html is a manual process because the whole spec was reformatted to use Bikeshed. Right now it looks like the focus is on reaching PR or REC and not so much on keeping up to date with upstream changes. I think you have these options:
Sorry that you're having to deal with this situation. |
Combo of (1) and (2) from #99 (comment) sounds like the way to go. I'll prepare an issue shortly for HTML51 w3c discussion ASAP (around (1)). |
PR #143 |
In 2.4.1 Attaching to a media element, the Media Source Extensions specification plugs itself into the "Perform a potentially CORS-enabled fetch" step of the resource fetch algorithm, defined in HTML5.1.
This algorithm has been updated in HTML5.1 and that step no longer exists.
Actually, I think that algorithm got updated precisely to cover media provider objects à la
MediaSource
, although the expected attachment method is rather viasrcObject
, which seems planned for VNext (#28).Perhaps you can plug after the first step in this algorithm to force
mode
tolocal
, reset thedelaying-the-load-event-flag
, etc. Step 4. in "Attaching to a media element" would then not be needed anymore. I may have missed something though.Also note that steps à la "If the media data cannot be fetched at all, ..." are now defined in a separate media data processing steps list algorithm and are no longer in the resource fetch algorithm. References should be updated accordingly in the End of stream algorithm.
The text was updated successfully, but these errors were encountered: