The legacy stream (i.e., blink::Stream) has been deprecated for years. I would like to remove it from XHR.
SourceBuffer is a Stream customer exposed to JS and its layout tests depend on the legacy stream support on XHR. wolenetz@, are you OK with this removal?
What would be necessary to update SourceBuffer::appendStream to current stream definition and implementation? IIUC, the "maxSize" parameter needed something like BYOB readers (see https://github.com/w3c/media-source/issues/14#issuecomment-203953825). Is that still the case, and if so, I don't see BYOB readers implemented in Chrome yet (any ETA?)
To your more immediate question, since appendStream isn't in MSE v1 spec (and in Chrome is legacy-Stream-based and currently behind ExperimentalStream flag), we could drop that from Chrome for now and add it back later if it becomes part of some MSE vNext incubation.
wolenetz: Sorry for not updating you for long time. the BYOB ReadableStream has been standardized and is stable enough for implementation. We prioritized some other works in Q2-3. I think we can move forward in 2017 to add the byte stream construction option to Chrome.
Comment 1 by wolenetz@chromium.org
, Oct 27 2016