[mediacapture-screen-share] Should screen capture tracks expose deviceId? (#308)

youennf has just created a new issue for https://github.com/w3c/mediacapture-screen-share:

== Should screen capture tracks expose deviceId? ==
As seen in https://github.com/w3c/mediacapture-screen-share/issues/306, Chrome and Safari are exposing `deviceId` on getDisplayMedia tracks. Firefox is not.

There are a couple of use cases that could make it useful for exposing deviceId:
- On successive getDisplayMedia calls within a same video call, web applications can know whether the same surface was selected or not.
- On surface switching, exposing `deviceId` can be used to let know `configurationchange` listeners that a surface switch happens. This could be useful for instance with MSTP which lives in a worker.
- It may also allow on surface switching that the same surface was already captured in the past.

Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/308 using your GitHub account


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

Received on Friday, 1 November 2024 19:29:24 UTC