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

Re: [mediacapture-screen-share] Provide a means to select only part of a screen to capture (#105)

From: guest271314 via GitHub <sysbot+gh@w3.org>
Date: Mon, 29 Apr 2019 03:36:41 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-487443922-1556509000-sysbot+gh@w3.org>
@martinthomson Tested the code at Mozilla browser at `console`; `getDisplayMedia()` is not executed at plnkr. The workaround to not record the title and location bar at Chromium 73

// add 30 to height for Chromium 73 to not record title and location bar
// Firefox 68 records location bar using the same code
// TODO: adjust to not record location bar at Firefox
const mediaWindow = window.open(blob_url, "getDisplayMedia", `width=${width},height=${height + 30},alwaysOnTop`);

which sets the `window` `height` to `30` `px` greater than the `height` `MediaStreamTrack` constraint still records the location bar at Nightly.

GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/105#issuecomment-487443922 using your GitHub account
Received on Monday, 29 April 2019 03:36:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:56 UTC