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: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Aug 2018 17:51:45 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-414405321-1534787504-sysbot+gh@w3.org>
Unfortunately, to make `getDisplayMedia({ audio: true })` *not* request video the logic has to depend on the precense of the audio member.

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.

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

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