Re: [mediacapture-main] Clarify that a source lifetime is bound to its context (#805)

> I think this works without adding the new internal slot at all.

There are different ways to do this but I think we cannot do without a new slot, for instance a slot that stores in each context the list of its active sources.
Then when context goes away, iterate through them to stop them.
That might be more straightforward, I'll have a try. In any case, this should be functionally equivalent to this PR.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/pull/805#issuecomment-895343918 using your GitHub account


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

Received on Monday, 9 August 2021 16:01:26 UTC