Bugzilla – Bug 21536
Specify the origin of media data provided using Media Source Extensions
Last modified: 2013-04-24 17:25:46 UTC
Several procedures within the Media Element refer to the origin of the media data, which would usually be the scheme/domain of the network request used to fetch the media.
We need to define the origin for media data provided using Media Source Extensions.
When media data is provided using ArrayBufferViews it seems obvious that this origin should be the page origin.
When media data is provided using a MediaStream, it's not so obvious. What does MediaStream say about same-origin policy ?
If the application has direct access to data then it must be considered same-origin. We use this rule in other situations such as Blob. So any data that can be read (Typed Array or Stream) should be considered same-origin as the page.
Discussed that the F2F meeting - next action Adrian to provide text.
Fixed -> https://dvcs.w3.org/hg/html-media/rev/f1f9c26759d3