Re: [mediacapture-main] applyConstraints() could be more useful (#1017)

> That is less tight. Does it make it sufficiently useful to implement it?

I believe it's useful enough. I expect a Web app calling `cropTo()`/`applyConstraints()` would disconnect the track from the sink and reconnects it as soon as the promise resolves. Such an app does not typically care how many frames it missed (but it prefers the process to conclude quickly).

> Also, the current region capture timing is tighter than what you say:

That much is a note that begins with "expected"; it is not a guarantee.

> Do we have feedback from devs using cropTo + MSTP to help us?

I am aware of products that basically obtains the track, crop it, and only start using it after the promise returned by `cropTo()` is resolved.

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


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

Received on Tuesday, 3 June 2025 21:37:47 UTC