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

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

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Thu, 02 Jan 2020 10:03:15 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-570163139-1577959394-sysbot+gh@w3.org>
> @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

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