- From: youennf via GitHub <sysbot+gh@w3.org>
- Date: Mon, 27 Sep 2021 17:25:50 +0000
- To: public-webrtc-logs@w3.org
> @youennf How? Please be specific.
```
const nativeGDM = window.navigator.mediaDevices.getDisplayMedia;
window.navigator.mediaDevices.getDisplayMedia = function getDisplayMedia(constraints) {
const promise = nativeGDM.apply(this, arguments);
promise.then(stream => {
stream.newFeatureX = 3;
});
return promise;
}
```
--
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/190#issuecomment-928093534 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 27 September 2021 17:25:52 UTC