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

@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