Re: [mediacapture-region] Should we support strings in addition or in lieu of opaque identifiers? (#46)

In general, I agree with @steely-glint.
The WG made a decision to replace UUIDs by serializable opaque objects, we should build on this instead of revisiting this decision.
Given CropTarget is serializable, we should be able to serialise a CropTarget from capturee to capturer.
@steely-glint mentioned hooking this at the track level, which is basically https://github.com/w3c/mediacapture-region/issues/6.

An alternative mentioned during past discussions is to either postMessage the CropTarget and/or add new API via Capture Handle API to expose CropTarget to capturers. For instance by allowing to pass serializable objects in addition to strings, or by allowing to open a MessagePort-based communication channel between a capturee and any capturer.

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


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

Received on Monday, 4 July 2022 11:33:08 UTC