W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > August 2018

Re: [mediacapture-screen-share] Behavior for getDisplayMedia() and getDisplayMedia({}) should be the same

From: Emircan Uysaler via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Aug 2018 21:20:35 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-414467111-1534800034-sysbot+gh@w3.org>
> while getDisplayMedia() should behave as getDisplayMedia({ video: true }) and succeed.
My suggestion was that, getDisplayMedia() should also fail and not be a special case. That would be more consistent.

> Perhaps it's better to recast this behavior not as a default value, but as the fallback behavior for when audio and video are both false? Written as an algorithm, that would be quite easy to express at least.
getDisplayMedia({ video: false }) returning a video stream does not sound right.

-- 
GitHub Notification of comment by uysalere
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/65#issuecomment-414467111 using your GitHub account
Received on Monday, 20 August 2018 21:20:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:34 UTC