diff --git a/files/en-us/web/api/mediatrackconstraints/channelcount/index.html b/files/en-us/web/api/mediatrackconstraints/channelcount/index.html index 4b0a566e242806a..a0627cece29be4a 100644 --- a/files/en-us/web/api/mediatrackconstraints/channelcount/index.html +++ b/files/en-us/web/api/mediatrackconstraints/channelcount/index.html @@ -16,7 +16,7 @@
The {{domxref("MediaTrackConstraints")}} dictionary's
- channelCount
property is a {{domxref("ConstrainLong")}}
+ channelCount
property is a {{domxref("ConstrainULong")}}
describing the requested or mandatory constraints placed upon the value of the
{{domxref("MediaTrackSettings.channelCount", "channelCount")}} constrainable property.
If this value is a number, the user agent will attempt to obtain media whose channel
count is as close as possible to this number given the capabilities of the hardware and
the other constraints specified. Otherwise, the value of this
- {{domxref("ConstrainLong")}} will guide the user agent in its efforts to provide an
+ {{domxref("ConstrainULong")}} will guide the user agent in its efforts to provide an
exact match to the required channel count (if exact
is specified or both
min
and max
are provided and have the same value) or to a
best-possible value.
The {{domxref("MediaTrackConstraints")}} dictionary's
- height
property is a {{domxref("ConstrainLong")}}
+ height
property is a {{domxref("ConstrainULong")}}
describing the requested or mandatory constraints placed upon the value of the
{{domxref("MediaTrackSettings.height", "height")}} constrainable property.
If this value is a number, the user agent will attempt to obtain media whose height is
as close as possible to this number given the capabilities of the hardware and the other
- constraints specified. Otherwise, the value of this {{domxref("ConstrainLong")}} will
+ constraints specified. Otherwise, the value of this {{domxref("ConstrainULong")}} will
guide the user agent in its efforts to provide an exact match to the required height (if
exact
is specified or both min
and max
are
provided and have the same value) or to a best-possible value.
none
and crop-and-scale
. none
means that the user agent uses the resolution provided by the camera, its driver or the OS. crop-and-scale
means that the user agent can use cropping and downscaling on the camera output in order to satisfy other constraints that affect the resolution.The {{domxref("MediaTrackConstraints")}} dictionary's
- sampleRate
property is a {{domxref("ConstrainLong")}}
+ sampleRate
property is a {{domxref("ConstrainULong")}}
describing the requested or mandatory constraints placed upon the value of the
{{domxref("MediaTrackSettings.sampleRate", "sampleRate")}} constrainable property.
If this value is a number, the user agent will attempt to obtain media whose sample
rate is as close as possible to this number given the capabilities of the hardware and
the other constraints specified. Otherwise, the value of this
- {{domxref("ConstrainLong")}} will guide the user agent in its efforts to provide an
+ {{domxref("ConstrainULong")}} will guide the user agent in its efforts to provide an
exact match to the required sample rate (if exact
is specified or both
min
and max
are provided and have the same value) or to a
best-possible value.
The {{domxref("MediaTrackConstraints")}} dictionary's
- sampleSize
property is a {{domxref("ConstrainLong")}}
+ sampleSize
property is a {{domxref("ConstrainULong")}}
describing the requested or mandatory constraints placed upon the value of the
{{domxref("MediaTrackSettings.sampleSize", "sampleSize")}} constrainable property.
If this value is a number, the user agent will attempt to obtain media whose sample
size (in bits per linear sample) is as close as possible to this number given the
capabilities of the hardware and the other constraints specified. Otherwise, the value
- of this {{domxref("ConstrainLong")}} will guide the user agent in its efforts to provide
+ of this {{domxref("ConstrainULong")}} will guide the user agent in its efforts to provide
an exact match to the required sample size (if exact
is specified or both
min
and max
are provided and have the same value) or to a
best-possible value.
The {{domxref("MediaTrackConstraints")}} dictionary's
- width
property is a {{domxref("ConstrainLong")}}
+ width
property is a {{domxref("ConstrainULong")}}
describing the requested or mandatory constraints placed upon the value of the
{{domxref("MediaTrackSettings.width", "width")}} constrainable property.
If this value is a number, the user agent will attempt to obtain media whose width is
as close as possible to this number given the capabilities of the hardware and the other
- constraints specified. Otherwise, the value of this {{domxref("ConstrainLong")}} will
+ constraints specified. Otherwise, the value of this {{domxref("ConstrainULong")}} will
guide the user agent in its efforts to provide an exact match to the required width (if
exact
is specified or both min
and max
are
provided and have the same value) or to a best-possible value.