Why is the "cursor" contraint in MediaTrackSettings for video not supported?

17 Views Asked by At

I cannot remove the cursor from a shared window stream. The specification over at https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSettings/cursor says it is supported in Chrome since version 71. enter image description here

But trying it out, does not work at all:

const feed = await navigator.mediaDevices.getDisplayMedia({
   video: {
    displaySurface: 'window',
    cursor: 'never', // doesn't work
  },
  audio: false,
});

The compatibility info cannot be correct therefore, as querying the supported constraints does not list the cursor constraint option at all in Chrome.

enter image description here

So what gives? The MDN site says it is supported since version 71, but in reality it is not. What could be the reason here?

0

There are 0 best solutions below