MediaTrackSettings: cursor property

The MediaTrackSettings dictionary's cursor property indicates whether or not the cursor should be captured as part of the video track included in the MediaStream returned by getDisplayMedia().


The value of cursor comes from the CursorCaptureConstraint enumerated string type, and may have one of the following values:


The mouse should always be visible in the video content of the MediaStream, unless the mouse has moved outside the area of the content.


The mouse cursor should always be included in the video if it's moving, and for a short time after it stops moving.


The mouse cursor is never included in the shared video.


Screen Capture
# dom-mediatracksettings-cursor

Browser compatibility

BCD tables only load in the browser

See also