Re: [ambient-light] Editorial: Drop own powerful feature, require active local video source. (#83)

@reillyeon @anssiko please take a look at this first draft.

The Media Capture references are a bit hand-wavy because the spec itself is not very precise about its definitions of source and device or the way notifications about changes to the `[[devicesLiveMap]]` slot are supposed to be delivered.

Tying an AmbientLightSensor instance to a specific MediaStreamTrack would allow us to be a bit more precise in how we track the lifetime of the resources we need at the expense of making the API slightly more cumbersome.

I'd appreciate it if you can CC one or more people with more expertise in the Media Capture area to see if this approach makes sense.

-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/ambient-light/pull/83#issuecomment-1349187550 using your GitHub account


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

Received on Tuesday, 13 December 2022 17:28:53 UTC