W3C home > Mailing lists > Public > public-media-capture@w3.org > March 2013

Re: How to direct audio/video streams from HTML5 media element to PeerConnection?

From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 22 Mar 2013 13:31:51 -0700
Message-ID: <CABkgnnWgA+tbWG4-B-vhS7u+_iW-LOsifb9t2WX_nev7=6XCWQ@mail.gmail.com>
To: Jim Barnett <Jim.Barnett@genesyslab.com>
Cc: "LiLi (Z)" <Li.NJ.Li@huawei.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
Consent wont be necessary here.  The content is either readable by the
page origin (because it came from that origin) or it is not.  Tags
that are displaying tainted content (cross-domain, peer-bound, or
otherwise inaccessible) can't be captured*.  No point in going any
further than that.

I prefer 2.3.  Given that a display tag (<video>, <audio>) can be
paused, resumed, etc..., we have to assume that there is some
display-tag-specific processing going on to produce the captured
track(s).  A method is the best way to approach this, it lets the
browser surface exceptions and provide appropriate grouping semantics,
like composing audio and video into a stream.

* Let's not go into the case where the content origin is the target of
the RTCPeerConnection, which is extreme and crazy.

On 22 March 2013 13:22, Jim Barnett <Jim.Barnett@genesyslab.com> wrote:
> Don’t we have to consider user consent here?  I wouldn’t want an app
> grabbing the contents of a video element and sending it off to a remote site
> without asking my permission.
>
>
>
> Am I right that tainting the stream will solve IP issues?  If I have paid to
> watch a streamed movie, I can’t necessarily share it with a remote friend.
> However if the video stream is tainted, the UA should not allow the JS code
> to access it.  Or am I missing something?
>
>
>
> That said, I like proposal 2.1.  It’s straightforward and I don’t think it’s
> too clunky.
>
>
>
> Jim
>
>
>
> From: LiLi (Z) [mailto:Li.NJ.Li@huawei.com]
> Sent: Friday, March 22, 2013 4:05 PM
> To: public-media-capture@w3.org
> Subject: Re: How to direct audio/video streams from HTML5 media element to
> PeerConnection?
>
>
>
> Attached please find a contribution to address this problem based on
> discussions on the list.
>
> Suggestions and comments are welcome.
>
> Thanks.
>
>
>
> Li
>
>
Received on Friday, 22 March 2013 20:32:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:15 UTC