W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > December 2019

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

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 Dec 2019 17:23:17 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-565529277-1576257796-sysbot+gh@w3.org>
> Would it not be better for the User Agent to easily list what is being shared by the user to a given page?

How do you mean? Like Firefox does with `label` above, or something else? 

> Related to getDisplayMedia, the spec allows dynamically changing the source of a display track.

Yeah @henbos wanted that, I think for active-tab capture? I actually worry that contradicts Mediacapture-main: _"Once selected, the source of the MediaStreamTrack MUST NOT change."_

I argued the right way to do active-tab capture was to create a virtual "active tab" device source that did just that, and expose that as a separate choice (which is the obvious UX anyway). That would preserve the model (the exposed device does not change to one of the other exposed ones). Much like the `"Default - External Microphone (Built-in)"` default device Chrome [still exposes](https://webrtc.github.io/samples/src/content/devices/input-output/).

> I don't think implementations expect track labels to change.

I don't see an immediate problem with that. The Chrome default device [already does that](https://jsfiddle.net/jib1/3ujf5rbh/) when I yank my earbuds.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/128#issuecomment-565529277 using your GitHub account
Received on Friday, 13 December 2019 17:23:19 UTC

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