W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2020

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

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Jan 2020 21:25:36 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-570084712-1577913935-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:36 UTC