w3c / media-source

Media Source Extensions
https://w3c.github.io/media-source/
Other
268 stars 57 forks source link

Switch from src to srcObject for worker MSE attachment #305

Closed wolenetz closed 2 years ago

wolenetz commented 2 years ago

Adds text to require implementations to fail attachment using a worker MediaSource's object URL.

Adds a MediaSourceHandle object and describes how to use it to attach a worker MediaSource to a media element.


Preview | Diff

wolenetz commented 2 years ago

Note that this PR is currently based upon PR #304. Once #304 is reviewed, approved and merged, I'll rebase this.

wolenetz commented 2 years ago

@mwatson2 - please review this and #304 (#304 is what this PR is based upon currently. See https://github.com/w3c/media-source/pull/305/commits/f9df82ebe5f5d591caf32e2c95296f0f1628fb59 for the portion of this PR that is intended to be specific to this PR once #304 is landed and this PR is rebased onto main.