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:47:10 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-414403854-1534787229-sysbot+gh@w3.org>
It looks like a key difference will be there no matter what the IDL looks like, namely that `getUserMedia()` with no argument should fail because neither audio or video was requested, while `getDisplayMedia()` should behave as `getDisplayMedia({ video: true })` and succeed.

The only way to avoid forking the IDL dictionary would be to remove the default value and handle a missing video member explicitly in both specs, but differently. 

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

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