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

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