diff --git a/getusermedia.html b/getusermedia.html index 40817e3b..32e397c3 100644 --- a/getusermedia.html +++ b/getusermedia.html @@ -1802,19 +1802,19 @@

Constrainable Properties

- sampleRate + sampleRate {{ConstrainULong}} The sample rate in samples per second for the audio data. - sampleSize + sampleSize {{ConstrainULong}} The linear sample size in bits. This constraint can only be satisfied for audio devices that produce linear samples. - echoCancellation + echoCancellation {{ConstrainBoolean}} When one or more audio streams is being played in the processes of various microphones, it is often desirable to @@ -1826,7 +1826,7 @@

Constrainable Properties

behavior. - autoGainControl + autoGainControl {{ConstrainBoolean}} Automatic gain control is often desirable on the input signal recorded by the microphone. There are cases where it is not @@ -1835,7 +1835,7 @@

Constrainable Properties

behavior. - noiseSuppression + noiseSuppression {{ConstrainBoolean}} Noise suppression is often desirable on the input signal recorded by the microphone. There are cases where it is not @@ -1844,7 +1844,7 @@

Constrainable Properties

behavior. - latency + latency {{ConstrainDouble}} The latency or latency range, in seconds. The latency is the time between start of processing (for instance, when sound occurs @@ -1856,7 +1856,7 @@

Constrainable Properties

some variation from that. - channelCount + channelCount {{ConstrainULong}} The number of independent channels of sound that the audio data contains, i.e. the number of audio samples per sample @@ -3479,6 +3479,11 @@

Methods

inside of "video" and video-only constraints inside of "audio" are simply ignored rather than causing OverconstrainedError. +
  • If CS contains a member that is a + required constraint and whose name is not in the + list of allowed required constraints for device selection, + then reject p with a {{TypeError}}, and abort + these steps.

  • Run the SelectSettings algorithm on each track in candidateSet with CS @@ -3664,6 +3669,27 @@

    Methods

    between those checks, so it is conceivable that the selected device is no longer suitable. In this case, a NotReadableError will result.

    +
    +

    The allowed required constraints for device selection + contains the following constraint names: + width, + height, + aspectRatio, + frameRate, + facingMode, + resizeMode, + sampleRate, + sampleSize, + echoCancellation, + autoGainControl, + noiseSuppression, + latency, + channelCount, + deviceId, + groupId. +

    +
    +

    {{MediaStreamConstraints}}