W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2017

[mediacapture-fromelement] captureStream() should return a promise

From: guidou via GitHub <sysbot+gh@w3.org>
Date: Sun, 01 Oct 2017 15:37:26 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-261924586-1506872232-sysbot+gh@w3.org>
guidou has just created a new issue for https://github.com/w3c/mediacapture-fromelement:

== captureStream() should return a promise ==
captureStream() returning a fully configured MediaStream introduces restrictions for the implementation since the stream and its tracks have to be configured synchronously.
It would be more flexible if it returned a promise, like getUserMedia() which resolves the promise with the fully configrued stream and allows asynchronous creation.

Please view or discuss this issue at https://github.com/w3c/mediacapture-fromelement/issues/66 using your GitHub account
Received on Sunday, 1 October 2017 15:37:15 UTC

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