Re: [mediacapture-screen-share] Editorial proposal: Add extension hook (#312)

Thanks for the context. On closer inspection the steps being inserted look like they need to be on the main thread.

@dontcallmedom-bot hasn't blessed us with a _"Missing tasks in parallel steps in screen share"_ issue yet, but let's get ahead of it and merge https://github.com/w3c/mediacapture-screen-share/pull/304 first.

Once we have that, we can [take a page from webrtc-pc](https://w3c.github.io/webrtc-pc/#ref-for-dfn-final-steps-to-create-an-offer-1) and do something like this:

- Queue a task that runs the following _**final steps to get display media**_:
  - ...

Then other specs should be able to append, prepend or insert (e.g. _"immediately before the step that resolves p"_) steps to those [final steps to get display media]().

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/312#issuecomment-2655122962 using your GitHub account


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

Received on Thursday, 13 February 2025 00:05:19 UTC