Re: [mediacapture-region] Why expose produceCropTarget at MediaDevices level? (#11)

If exposing to Element is not good for documentation, and given exposing it to MediaDevices has shortcomings, the best approach might to add the API directly within CropTarget:
- sync version: `new CropTarget(element)`
- async version: `CropTarget.fromElement(element)`

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


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

Received on Wednesday, 18 May 2022 11:19:09 UTC