Re: [mediacapture-screen-share] Specify track.label (#128)

> @youennf I'm not following. What do you mean "mixes"? The device _type_ is in `track.kind`, the device _name_ is in `track.label`.

Capture track labels are often something like: "iMac Microphone" or "FaceTime Camera", which contain the kind information. It would seem consistent to have something like "iMac Screen" or "My super presentation Window".

> The display surface [_type_](https://w3c.github.io/mediacapture-screen-share/#dom-mediatracksettings-displaysurface) is in `track.getSettings().displaySurface`, the display surface _name_ is in `track.label`.

As I said earlier, if we decide to expose this information, it seems more natural to me to use something like `track.getSettings().displayName`.

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

Received on Thursday, 2 January 2020 10:03:25 UTC