[mediacapture-transform] Call the streams algorithms (#36)

jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-transform:

== Call the streams algorithms ==
The streams spec has a [Using streams in other specifications](https://streams.spec.whatwg.org/#other-specs) section with algorithms we're meant to call. But we don't appear to be calling them. We should do that.

We seem light on algorithms to describe the fundamentals someone would need to get right to implement this web compatibly: threading model, timing, type checking, and error handling, which I'm unable to glean from current prose.

Since media capture typically happens on a media thread — out of process even — I'd expect a lot of "in parallel" and queued tasks to communicate from/to the JS thread.

A potential template to look at that might help is https://github.com/w3c/webrtc-insertable-streams/pull/51#discussion_r567910473. Similar to that patch, once we start calling the streams algorithms directly, this should unfurl how to answer these questions.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 18 May 2021 01:09:16 UTC