MediaTrackSettings: cursor property
TheMediaTrackSettings dictionary'scursor property indicates whether or not the cursor should be captured as part of the video track included in theMediaStream returned bygetDisplayMedia().
In this article
Value
The value ofcursor comes from theCursorCaptureConstraint enumerated string type, and may have one of the following values:
alwaysThe mouse should always be visible in the video content of the
MediaStream, unless the mouse has moved outside the area of the content.motionThe mouse cursor should always be included in the video if it's moving, and for a short time after it stops moving.
neverThe mouse cursor is never included in the shared video.