W3C home > Mailing lists > Public > public-media-capture@w3.org > February 2014

captureStreamUntilEnded? (Re: peerIdentity and transparency)

From: Harald Alvestrand <harald@alvestrand.no>
Date: Thu, 06 Feb 2014 21:02:33 +0100
Message-ID: <52F3EA59.6010609@alvestrand.no>
To: public-media-capture@w3.org
Taking off on a tangent to the discussion:

In a peerIdentity message, Martin referred to captureStreamUntilEnded().

The only spec for this function I can see is in a draft that isn't being
pursued at the moment (as far as I know):


The relevant WebIDL is:

partial interface HTMLMediaElement {
readonly attribute MediaStream stream;

MediaStream captureStream();
MediaStream captureStreamUntilEnded();
attribute boolean captureAudio;

attribute any src;

We already took the "src" change from this spec and turned it into
"srcObject", and made it part of our spec. But I haven't seen a proposal
to move captureStream* in the same way.

Is it interesting to think of adopting the captureStream() interface? It
would resolve a long standing issue of "how do I produce a MediaStream
when I don't have a camera", but there might be dragons lying in wait
here that makes this unadvisable at the present time....

Received on Thursday, 6 February 2014 20:03:04 UTC

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