dictionary is used to specify whether or not to include video and/or audio tracks in the
to be returned by
, as well as what type of processing must be applied to the tracks.
Processing information is specified using
objects providing options which are applied to the track after the media data is received but before it is made available on the
MediaTrackConstraintsvalue; if a Boolean, this value simply indicates whether or not to include an audio track in the
getDisplayMedia(). If a
MediaTrackConstraintsobject is provided here, an audio track is included in the stream, but the audio is processed to match the specified constraints after being retrieved from the hardware but before being added to the
true(the default), the display contents are included in a
MediaStreamTrackwithin the stream provided by
getDisplayMedia(). Optionally, a
MediaTrackConstraintsobject may be given, providing options specifying processing to be performed on the video data before adding it to the stream. A value of
falseis not permitted, and results in a
The definition of 'DisplayMediaStreamConstraints' in that specification.
No compatibility data found. Please contribute data for "api.DisplayMediaStreamConstraints" (depth: 1) to the MDN 兼容性数据存储库 .