MediaTrackCapabilities Class
The capabilities of the source of a track (https://w3c.github.io/mediacapture-main/#dom-mediatrackcapabilities): the values or the ranges of values of its constrainable properties, returned by MediaStreamTrack.GetCapabilities and InputDeviceInfo.GetCapabilities.
public sealed class MediaTrackCapabilitiesConstructors
| Name | Description |
|---|---|
| MediaTrackCapabilities() |
MediaTrackCapabilities()
public MediaTrackCapabilities()No documentation is available.
Properties
| Name | Description |
|---|---|
| AspectRatio | Gets the values or the range of values of the aspectRatio constrainable property that the source supports, or null. |
| AutoGainControl | Gets the values or the range of values of the autoGainControl constrainable property that the source supports, or null. |
| BackgroundBlur | Gets the values or the range of values of the backgroundBlur constrainable property that the source supports, or null. |
| BackgroundSegmentationMask | Gets the values or the range of values of the backgroundSegmentationMask constrainable property that the source supports, or null. |
| Brightness | Gets the values or the range of values of the brightness constrainable property that the source supports, or null. |
| ChannelCount | Gets the values or the range of values of the channelCount constrainable property that the source supports, or null. |
| ColorTemperature | Gets the values or the range of values of the colorTemperature constrainable property that the source supports, or null. |
| Contrast | Gets the values or the range of values of the contrast constrainable property that the source supports, or null. |
| Cursor | Gets the values or the range of values of the cursor constrainable property that the source supports, or null. |
| DeviceId | Gets the values or the range of values of the deviceId constrainable property that the source supports, or null. |
| DisplaySurface | Gets the values or the range of values of the displaySurface constrainable property that the source supports, or null. |
| EchoCancellation | Gets the values or the range of values of the echoCancellation constrainable property that the source supports, or null. |
| ExposureCompensation | Gets the values or the range of values of the exposureCompensation constrainable property that the source supports, or null. |
| ExposureMode | Gets the values or the range of values of the exposureMode constrainable property that the source supports, or null. |
| ExposureTime | Gets the values or the range of values of the exposureTime constrainable property that the source supports, or null. |
| EyeGazeCorrection | Gets the values or the range of values of the eyeGazeCorrection constrainable property that the source supports, or null. |
| FaceFraming | Gets the values or the range of values of the faceFraming constrainable property that the source supports, or null. |
| FacingMode | Gets the values or the range of values of the facingMode constrainable property that the source supports, or null. |
| FocusDistance | Gets the values or the range of values of the focusDistance constrainable property that the source supports, or null. |
| FocusMode | Gets the values or the range of values of the focusMode constrainable property that the source supports, or null. |
| FrameRate | Gets the values or the range of values of the frameRate constrainable property that the source supports, or null. |
| GestureReactions | Gets the values or the range of values of the gestureReactions constrainable property that the source supports, or null. |
| GroupId | Gets the values or the range of values of the groupId constrainable property that the source supports, or null. |
| Height | Gets the values or the range of values of the height constrainable property that the source supports, or null. |
| HumanFaceDetectionMode | Gets the values or the range of values of the humanFaceDetectionMode constrainable property that the source supports, or null. |
| Iso | Gets the values or the range of values of the iso constrainable property that the source supports, or null. |
| Latency | Gets the values or the range of values of the latency constrainable property that the source supports, or null. |
| LogicalSurface | Gets the values or the range of values of the logicalSurface constrainable property that the source supports, or null. |
| NoiseSuppression | Gets the values or the range of values of the noiseSuppression constrainable property that the source supports, or null. |
| Pan | Gets the values or the range of values of the pan constrainable property that the source supports, or null. |
| PowerEfficient | Gets the values or the range of values of the powerEfficient constrainable property that the source supports, or null. |
| PowerEfficientPixelFormat | Gets the values or the range of values of the powerEfficientPixelFormat constrainable property that the source supports, or null. |
| ResizeMode | Gets the values or the range of values of the resizeMode constrainable property that the source supports, or null. |
| SampleRate | Gets the values or the range of values of the sampleRate constrainable property that the source supports, or null. |
| SampleSize | Gets the values or the range of values of the sampleSize constrainable property that the source supports, or null. |
| Saturation | Gets the values or the range of values of the saturation constrainable property that the source supports, or null. |
| Sharpness | Gets the values or the range of values of the sharpness constrainable property that the source supports, or null. |
| Tilt | Gets the values or the range of values of the tilt constrainable property that the source supports, or null. |
| Torch | Gets the values or the range of values of the torch constrainable property that the source supports, or null. |
| VoiceIsolation | Gets the values or the range of values of the voiceIsolation constrainable property that the source supports, or null. |
| WhiteBalanceMode | Gets the values or the range of values of the whiteBalanceMode constrainable property that the source supports, or null. |
| Width | Gets the values or the range of values of the width constrainable property that the source supports, or null. |
| Zoom | Gets the values or the range of values of the zoom constrainable property that the source supports, or null. |
AspectRatio
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the aspectRatio constrainable property that the source supports, or null.
public DoubleRange? AspectRatio { get; init; }AutoGainControl
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the autoGainControl constrainable property that the source supports, or null.
public IReadOnlyList<bool>? AutoGainControl { get; init; }BackgroundBlur
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the backgroundBlur constrainable property that the source supports, or null.
public IReadOnlyList<bool>? BackgroundBlur { get; init; }BackgroundSegmentationMask
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the backgroundSegmentationMask constrainable property that the source supports, or null.
public IReadOnlyList<bool>? BackgroundSegmentationMask { get; init; }Brightness
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the brightness constrainable property that the source supports, or null.
public MediaSettingsRange? Brightness { get; init; }ChannelCount
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the channelCount constrainable property that the source supports, or null.
public ULongRange? ChannelCount { get; init; }ColorTemperature
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the colorTemperature constrainable property that the source supports, or null.
public MediaSettingsRange? ColorTemperature { get; init; }Gets the values or the range of values of the contrast constrainable property that the source supports, or null.
public MediaSettingsRange? Contrast { get; init; }Gets the values or the range of values of the cursor constrainable property that the source supports, or null.
public IReadOnlyList<string>? Cursor { get; init; }Gets the values or the range of values of the deviceId constrainable property that the source supports, or null.
public string? DeviceId { get; init; }Property value
See also
DisplaySurface
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the displaySurface constrainable property that the source supports, or null.
public string? DisplaySurface { get; init; }EchoCancellation
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the echoCancellation constrainable property that the source supports, or null.
public IReadOnlyList<BooleanOrString>? EchoCancellation { get; init; }ExposureCompensation
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the exposureCompensation constrainable property that the source supports, or null.
public MediaSettingsRange? ExposureCompensation { get; init; }ExposureMode
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the exposureMode constrainable property that the source supports, or null.
public IReadOnlyList<string>? ExposureMode { get; init; }ExposureTime
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the exposureTime constrainable property that the source supports, or null.
public MediaSettingsRange? ExposureTime { get; init; }EyeGazeCorrection
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the eyeGazeCorrection constrainable property that the source supports, or null.
public IReadOnlyList<bool>? EyeGazeCorrection { get; init; }FaceFraming
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the faceFraming constrainable property that the source supports, or null.
public IReadOnlyList<bool>? FaceFraming { get; init; }FacingMode
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the facingMode constrainable property that the source supports, or null.
public IReadOnlyList<string>? FacingMode { get; init; }FocusDistance
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the focusDistance constrainable property that the source supports, or null.
public MediaSettingsRange? FocusDistance { get; init; }Gets the values or the range of values of the focusMode constrainable property that the source supports, or null.
public IReadOnlyList<string>? FocusMode { get; init; }Gets the values or the range of values of the frameRate constrainable property that the source supports, or null.
public DoubleRange? FrameRate { get; init; }GestureReactions
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the gestureReactions constrainable property that the source supports, or null.
public IReadOnlyList<bool>? GestureReactions { get; init; }Gets the values or the range of values of the groupId constrainable property that the source supports, or null.
public string? GroupId { get; init; }Property value
See also
Gets the values or the range of values of the height constrainable property that the source supports, or null.
public ULongRange? Height { get; init; }Property value
See also
HumanFaceDetectionMode
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the humanFaceDetectionMode constrainable property that the source supports, or null.
public IReadOnlyList<string>? HumanFaceDetectionMode { get; init; }Gets the values or the range of values of the iso constrainable property that the source supports, or null.
public MediaSettingsRange? Iso { get; init; }Gets the values or the range of values of the latency constrainable property that the source supports, or null.
public DoubleRange? Latency { get; init; }Property value
See also
LogicalSurface
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the logicalSurface constrainable property that the source supports, or null.
public bool? LogicalSurface { get; init; }NoiseSuppression
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the noiseSuppression constrainable property that the source supports, or null.
public IReadOnlyList<bool>? NoiseSuppression { get; init; }Gets the values or the range of values of the pan constrainable property that the source supports, or null.
public MediaSettingsRange? Pan { get; init; }PowerEfficient
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the powerEfficient constrainable property that the source supports, or null.
public IReadOnlyList<bool>? PowerEfficient { get; init; }PowerEfficientPixelFormat
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the powerEfficientPixelFormat constrainable property that the source supports, or null.
public IReadOnlyList<bool>? PowerEfficientPixelFormat { get; init; }ResizeMode
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the resizeMode constrainable property that the source supports, or null.
public IReadOnlyList<string>? ResizeMode { get; init; }SampleRate
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the sampleRate constrainable property that the source supports, or null.
public ULongRange? SampleRate { get; init; }SampleSize
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the sampleSize constrainable property that the source supports, or null.
public ULongRange? SampleSize { get; init; }Saturation
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the saturation constrainable property that the source supports, or null.
public MediaSettingsRange? Saturation { get; init; }Gets the values or the range of values of the sharpness constrainable property that the source supports, or null.
public MediaSettingsRange? Sharpness { get; init; }Gets the values or the range of values of the tilt constrainable property that the source supports, or null.
public MediaSettingsRange? Tilt { get; init; }Gets the values or the range of values of the torch constrainable property that the source supports, or null.
public IReadOnlyList<bool>? Torch { get; init; }VoiceIsolation
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the voiceIsolation constrainable property that the source supports, or null.
public IReadOnlyList<bool>? VoiceIsolation { get; init; }WhiteBalanceMode
MediaTrackConstraints.Dictionaries.csGets the values or the range of values of the whiteBalanceMode constrainable property that the source supports, or null.
public IReadOnlyList<string>? WhiteBalanceMode { get; init; }Gets the values or the range of values of the width constrainable property that the source supports, or null.
public ULongRange? Width { get; init; }Property value
See also
Gets the values or the range of values of the zoom constrainable property that the source supports, or null.
public MediaSettingsRange? Zoom { get; init; }