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

> It currently mixes device type (camera/microphone) and device name for getUserMedia.

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

> If we follow this principle, it would mix the display type with the display title.

Not really. 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`.

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

Received on Wednesday, 1 January 2020 21:25:38 UTC