MediaTrackSettings Class
The current settings of the constrainable properties of a track (https://w3c.github.io/mediacapture-main/#dom-mediatracksettings), returned by MediaStreamTrack.GetSettings.
public sealed class MediaTrackSettingsConstructors
| Name | Description |
|---|---|
| MediaTrackSettings() |
MediaTrackSettings()
public MediaTrackSettings()No documentation is available.
Properties
| Name | Description |
|---|---|
| AspectRatio | Gets the current value of the aspectRatio constrainable property, or null when the source does not have the property. |
| AutoGainControl | Gets the current value of the autoGainControl constrainable property, or null when the source does not have the property. |
| BackgroundBlur | Gets the current value of the backgroundBlur constrainable property, or null when the source does not have the property. |
| BackgroundSegmentationMask | Gets the current value of the backgroundSegmentationMask constrainable property, or null when the source does not have the property. |
| Brightness | Gets the current value of the brightness constrainable property, or null when the source does not have the property. |
| ChannelCount | Gets the current value of the channelCount constrainable property, or null when the source does not have the property. |
| ColorTemperature | Gets the current value of the colorTemperature constrainable property, or null when the source does not have the property. |
| Contrast | Gets the current value of the contrast constrainable property, or null when the source does not have the property. |
| Cursor | Gets the current value of the cursor constrainable property, or null when the source does not have the property. |
| DeviceId | Gets the current value of the deviceId constrainable property, or null when the source does not have the property. |
| DisplaySurface | Gets the current value of the displaySurface constrainable property, or null when the source does not have the property. |
| EchoCancellation | Gets the current value of the echoCancellation constrainable property, or null when the source does not have the property. |
| ExposureCompensation | Gets the current value of the exposureCompensation constrainable property, or null when the source does not have the property. |
| ExposureMode | Gets the current value of the exposureMode constrainable property, or null when the source does not have the property. |
| ExposureTime | Gets the current value of the exposureTime constrainable property, or null when the source does not have the property. |
| EyeGazeCorrection | Gets the current value of the eyeGazeCorrection constrainable property, or null when the source does not have the property. |
| FaceFraming | Gets the current value of the faceFraming constrainable property, or null when the source does not have the property. |
| FacingMode | Gets the current value of the facingMode constrainable property, or null when the source does not have the property. |
| FocusDistance | Gets the current value of the focusDistance constrainable property, or null when the source does not have the property. |
| FocusMode | Gets the current value of the focusMode constrainable property, or null when the source does not have the property. |
| FrameRate | Gets the current value of the frameRate constrainable property, or null when the source does not have the property. |
| GestureReactions | Gets the current value of the gestureReactions constrainable property, or null when the source does not have the property. |
| GroupId | Gets the current value of the groupId constrainable property, or null when the source does not have the property. |
| Height | Gets the current value of the height constrainable property, or null when the source does not have the property. |
| HumanFaceDetectionMode | Gets the current value of the humanFaceDetectionMode constrainable property, or null when the source does not have the property. |
| Iso | Gets the current value of the iso constrainable property, or null when the source does not have the property. |
| Latency | Gets the current value of the latency constrainable property, or null when the source does not have the property. |
| LogicalSurface | Gets the current value of the logicalSurface constrainable property, or null when the source does not have the property. |
| NoiseSuppression | Gets the current value of the noiseSuppression constrainable property, or null when the source does not have the property. |
| Pan | Gets the current value of the pan constrainable property, or null when the source does not have the property. |
| PointsOfInterest | Gets the current value of the pointsOfInterest constrainable property, or null when the source does not have the property. |
| PowerEfficient | Gets the current value of the powerEfficient constrainable property, or null when the source does not have the property. |
| PowerEfficientPixelFormat | Gets the current value of the powerEfficientPixelFormat constrainable property, or null when the source does not have the property. |
| ResizeMode | Gets the current value of the resizeMode constrainable property, or null when the source does not have the property. |
| RestrictOwnAudio | Gets the current value of the restrictOwnAudio constrainable property, or null when the source does not have the property. |
| SampleRate | Gets the current value of the sampleRate constrainable property, or null when the source does not have the property. |
| SampleSize | Gets the current value of the sampleSize constrainable property, or null when the source does not have the property. |
| Saturation | Gets the current value of the saturation constrainable property, or null when the source does not have the property. |
| ScreenPixelRatio | Gets the current value of the screenPixelRatio constrainable property, or null when the source does not have the property. |
| Sharpness | Gets the current value of the sharpness constrainable property, or null when the source does not have the property. |
| SuppressLocalAudioPlayback | Gets the current value of the suppressLocalAudioPlayback constrainable property, or null when the source does not have the property. |
| Tilt | Gets the current value of the tilt constrainable property, or null when the source does not have the property. |
| Torch | Gets the current value of the torch constrainable property, or null when the source does not have the property. |
| VoiceIsolation | Gets the current value of the voiceIsolation constrainable property, or null when the source does not have the property. |
| WhiteBalanceMode | Gets the current value of the whiteBalanceMode constrainable property, or null when the source does not have the property. |
| Width | Gets the current value of the width constrainable property, or null when the source does not have the property. |
| Zoom | Gets the current value of the zoom constrainable property, or null when the source does not have the property. |
AspectRatio
MediaTrackConstraints.Dictionaries.csGets the current value of the aspectRatio constrainable property, or null when the source does not have the property.
public double? AspectRatio { get; init; }Property value
See also
AutoGainControl
MediaTrackConstraints.Dictionaries.csGets the current value of the autoGainControl constrainable property, or null when the source does not have the property.
public bool? AutoGainControl { get; init; }Property value
See also
BackgroundBlur
MediaTrackConstraints.Dictionaries.csGets the current value of the backgroundBlur constrainable property, or null when the source does not have the property.
public bool? BackgroundBlur { get; init; }Property value
See also
BackgroundSegmentationMask
MediaTrackConstraints.Dictionaries.csGets the current value of the backgroundSegmentationMask constrainable property, or null when the source does not have the property.
public bool? BackgroundSegmentationMask { get; init; }Brightness
MediaTrackConstraints.Dictionaries.csGets the current value of the brightness constrainable property, or null when the source does not have the property.
public double? Brightness { get; init; }Property value
See also
ChannelCount
MediaTrackConstraints.Dictionaries.csGets the current value of the channelCount constrainable property, or null when the source does not have the property.
public uint? ChannelCount { get; init; }Property value
See also
ColorTemperature
MediaTrackConstraints.Dictionaries.csGets the current value of the colorTemperature constrainable property, or null when the source does not have the property.
public double? ColorTemperature { get; init; }Property value
See also
Gets the current value of the contrast constrainable property, or null when the source does not have the property.
public double? Contrast { get; init; }Property value
See also
Gets the current value of the cursor constrainable property, or null when the source does not have the property.
public string? Cursor { get; init; }Property value
See also
Gets the current value of the deviceId constrainable property, or null when the source does not have the property.
public string? DeviceId { get; init; }Property value
See also
DisplaySurface
MediaTrackConstraints.Dictionaries.csGets the current value of the displaySurface constrainable property, or null when the source does not have the property.
public string? DisplaySurface { get; init; }EchoCancellation
MediaTrackConstraints.Dictionaries.csGets the current value of the echoCancellation constrainable property, or null when the source does not have the property.
public BooleanOrString? EchoCancellation { get; init; }ExposureCompensation
MediaTrackConstraints.Dictionaries.csGets the current value of the exposureCompensation constrainable property, or null when the source does not have the property.
public double? ExposureCompensation { get; init; }ExposureMode
MediaTrackConstraints.Dictionaries.csGets the current value of the exposureMode constrainable property, or null when the source does not have the property.
public string? ExposureMode { get; init; }Property value
See also
ExposureTime
MediaTrackConstraints.Dictionaries.csGets the current value of the exposureTime constrainable property, or null when the source does not have the property.
public double? ExposureTime { get; init; }Property value
See also
EyeGazeCorrection
MediaTrackConstraints.Dictionaries.csGets the current value of the eyeGazeCorrection constrainable property, or null when the source does not have the property.
public bool? EyeGazeCorrection { get; init; }FaceFraming
MediaTrackConstraints.Dictionaries.csGets the current value of the faceFraming constrainable property, or null when the source does not have the property.
public bool? FaceFraming { get; init; }Property value
See also
FacingMode
MediaTrackConstraints.Dictionaries.csGets the current value of the facingMode constrainable property, or null when the source does not have the property.
public string? FacingMode { get; init; }Property value
See also
FocusDistance
MediaTrackConstraints.Dictionaries.csGets the current value of the focusDistance constrainable property, or null when the source does not have the property.
public double? FocusDistance { get; init; }Property value
See also
Gets the current value of the focusMode constrainable property, or null when the source does not have the property.
public string? FocusMode { get; init; }Property value
See also
Gets the current value of the frameRate constrainable property, or null when the source does not have the property.
public double? FrameRate { get; init; }Property value
See also
GestureReactions
MediaTrackConstraints.Dictionaries.csGets the current value of the gestureReactions constrainable property, or null when the source does not have the property.
public bool? GestureReactions { get; init; }Gets the current value of the groupId constrainable property, or null when the source does not have the property.
public string? GroupId { get; init; }Property value
See also
Gets the current value of the height constrainable property, or null when the source does not have the property.
public uint? Height { get; init; }HumanFaceDetectionMode
MediaTrackConstraints.Dictionaries.csGets the current value of the humanFaceDetectionMode constrainable property, or null when the source does not have the property.
public string? HumanFaceDetectionMode { get; init; }Gets the current value of the iso constrainable property, or null when the source does not have the property.
public double? Iso { get; init; }Gets the current value of the latency constrainable property, or null when the source does not have the property.
public double? Latency { get; init; }Property value
See also
LogicalSurface
MediaTrackConstraints.Dictionaries.csGets the current value of the logicalSurface constrainable property, or null when the source does not have the property.
public bool? LogicalSurface { get; init; }NoiseSuppression
MediaTrackConstraints.Dictionaries.csGets the current value of the noiseSuppression constrainable property, or null when the source does not have the property.
public bool? NoiseSuppression { get; init; }Property value
See also
Gets the current value of the pan constrainable property, or null when the source does not have the property.
public double? Pan { get; init; }PointsOfInterest
MediaTrackConstraints.Dictionaries.csGets the current value of the pointsOfInterest constrainable property, or null when the source does not have the property.
public IReadOnlyList<Point2D>? PointsOfInterest { get; init; }PowerEfficient
MediaTrackConstraints.Dictionaries.csGets the current value of the powerEfficient constrainable property, or null when the source does not have the property.
public bool? PowerEfficient { get; init; }PowerEfficientPixelFormat
MediaTrackConstraints.Dictionaries.csGets the current value of the powerEfficientPixelFormat constrainable property, or null when the source does not have the property.
public bool? PowerEfficientPixelFormat { get; init; }ResizeMode
MediaTrackConstraints.Dictionaries.csGets the current value of the resizeMode constrainable property, or null when the source does not have the property.
public string? ResizeMode { get; init; }Property value
See also
RestrictOwnAudio
MediaTrackConstraints.Dictionaries.csGets the current value of the restrictOwnAudio constrainable property, or null when the source does not have the property.
public bool? RestrictOwnAudio { get; init; }SampleRate
MediaTrackConstraints.Dictionaries.csGets the current value of the sampleRate constrainable property, or null when the source does not have the property.
public uint? SampleRate { get; init; }Property value
See also
SampleSize
MediaTrackConstraints.Dictionaries.csGets the current value of the sampleSize constrainable property, or null when the source does not have the property.
public uint? SampleSize { get; init; }Property value
See also
Saturation
MediaTrackConstraints.Dictionaries.csGets the current value of the saturation constrainable property, or null when the source does not have the property.
public double? Saturation { get; init; }Property value
See also
ScreenPixelRatio
MediaTrackConstraints.Dictionaries.csGets the current value of the screenPixelRatio constrainable property, or null when the source does not have the property.
public double? ScreenPixelRatio { get; init; }Gets the current value of the sharpness constrainable property, or null when the source does not have the property.
public double? Sharpness { get; init; }Property value
See also
SuppressLocalAudioPlayback
MediaTrackConstraints.Dictionaries.csGets the current value of the suppressLocalAudioPlayback constrainable property, or null when the source does not have the property.
public bool? SuppressLocalAudioPlayback { get; init; }Gets the current value of the tilt constrainable property, or null when the source does not have the property.
public double? Tilt { get; init; }Gets the current value of the torch constrainable property, or null when the source does not have the property.
public bool? Torch { get; init; }VoiceIsolation
MediaTrackConstraints.Dictionaries.csGets the current value of the voiceIsolation constrainable property, or null when the source does not have the property.
public bool? VoiceIsolation { get; init; }WhiteBalanceMode
MediaTrackConstraints.Dictionaries.csGets the current value of the whiteBalanceMode constrainable property, or null when the source does not have the property.
public string? WhiteBalanceMode { get; init; }Property value
See also
Gets the current value of the width constrainable property, or null when the source does not have the property.
public uint? Width { get; init; }Gets the current value of the zoom constrainable property, or null when the source does not have the property.
public double? Zoom { get; init; }