[mediacapture-record] Promise version of requestData?

SaschaNaz has just created a new issue for https://github.com/w3c/mediacapture-record:

== Promise version of requestData? ==
Currently an author has to add an event listener first and then call `requestData` to get the recorded blob. I think its use can be easier if it returns a Promise that resolves when the data becomes available.

It currently unfortunately throws synchronously so it probably cannot return Promise as it is. What do you think?

Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/137 using your GitHub account

Received on Monday, 11 September 2017 08:28:41 UTC