- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Tue, 11 Aug 2015 07:59:09 +0200
- To: Chia-Hung Tai <ctai@mozilla.com>
- Cc: WHATWG <whatwg@whatwg.org>
On Fri, Aug 7, 2015 at 8:56 AM, Chia-Hung Tai <ctai@mozilla.com> wrote: > http://chiahungtai.github.io/mediacapture-worker/ Given that removeVideoProcessor() does not take arguments, should addVideoProcessor() not check for duplicates? VideoProcessEventThe looks like a typo. The events don't define constructors. They probably should. You should also use IDL [Exposed=] syntax to indicate they are available in workers. (Or dedicated workers, anyway.) The outputImageBitmap=null syntax is wrong. You want to remove "=null" there and define the default in prose. You also want to define the processing model a bit more carefully I think. E.g., it seems to be that for processing the event instance is modified and then once the dispatch flag is unset that data is copied somehow. But how is it copied? Is it a structured clone transfer that detaches the buffer? -- https://annevankesteren.nl/
Received on Tuesday, 11 August 2015 05:59:35 UTC