Re: [mediacapture-region] What makes CropTarget special to require an asynchronous creation? (#17)

> As a side-comment: I don't know how you can credibly argue about performance and add 4 milliseconds of delay for no reason whatsoever. Check out [postMessage is ~100 times more frequent than setTimeout(0)](http://jsfiddle.net/jib1/y1e4rg0d/).

The token can be posted while the user is interacting with getDisplayMedia's dialog, so any latency introduced by minting a token becomes zero. This wonderful fact is courtesy of the produceCropTarget/cropTo separation as two separate async APIs.

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-region/issues/17#issuecomment-1134302511 using your GitHub account


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

Received on Monday, 23 May 2022 07:44:35 UTC