Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. MediaTrackConstraints
  4. noiseSuppression

MediaTrackConstraints: noiseSuppression property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

TheMediaTrackConstraints dictionary'snoiseSuppression property is aConstrainBoolean describing the requested or mandatory constraints placed upon the value of thenoiseSuppression constrainable property.

If needed, you can determine whether or not this constraint is supported by checkingthe value ofMediaTrackSupportedConstraints.noiseSuppression as returnedby a call toMediaDevices.getSupportedConstraints(). However, typicallythis is unnecessary since browsers will ignore any constraints they're unfamiliar with.

Noise suppression is typically provided by microphones, although it can be provided byother input sources as well.

Value

If this value is a simpletrue orfalse, the user agent willattempt to obtain media with noise suppression enabled or disabled as specified, ifpossible, but will not fail if this can't be done. If, instead, the value is given as anobject with anexact field, that field's Boolean value indicates a requiredsetting for the noise suppression feature; if it can't be met, then the request willresult in an error.

Examples

See theConstraint exerciser example.

Specifications

Specification
Media Capture and Streams
# dom-mediatrackconstraintset-noisesuppression

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp