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 MediaTrackSettings

Constructors

NameDescription
MediaTrackSettings()

MediaTrackSettings()

public MediaTrackSettings()

No documentation is available.

Properties

NameDescription
AspectRatioGets the current value of the aspectRatio constrainable property, or null when the source does not have the property.
AutoGainControlGets the current value of the autoGainControl constrainable property, or null when the source does not have the property.
BackgroundBlurGets the current value of the backgroundBlur constrainable property, or null when the source does not have the property.
BackgroundSegmentationMaskGets the current value of the backgroundSegmentationMask constrainable property, or null when the source does not have the property.
BrightnessGets the current value of the brightness constrainable property, or null when the source does not have the property.
ChannelCountGets the current value of the channelCount constrainable property, or null when the source does not have the property.
ColorTemperatureGets the current value of the colorTemperature constrainable property, or null when the source does not have the property.
ContrastGets the current value of the contrast constrainable property, or null when the source does not have the property.
CursorGets the current value of the cursor constrainable property, or null when the source does not have the property.
DeviceIdGets the current value of the deviceId constrainable property, or null when the source does not have the property.
DisplaySurfaceGets the current value of the displaySurface constrainable property, or null when the source does not have the property.
EchoCancellationGets the current value of the echoCancellation constrainable property, or null when the source does not have the property.
ExposureCompensationGets the current value of the exposureCompensation constrainable property, or null when the source does not have the property.
ExposureModeGets the current value of the exposureMode constrainable property, or null when the source does not have the property.
ExposureTimeGets the current value of the exposureTime constrainable property, or null when the source does not have the property.
EyeGazeCorrectionGets the current value of the eyeGazeCorrection constrainable property, or null when the source does not have the property.
FaceFramingGets the current value of the faceFraming constrainable property, or null when the source does not have the property.
FacingModeGets the current value of the facingMode constrainable property, or null when the source does not have the property.
FocusDistanceGets the current value of the focusDistance constrainable property, or null when the source does not have the property.
FocusModeGets the current value of the focusMode constrainable property, or null when the source does not have the property.
FrameRateGets the current value of the frameRate constrainable property, or null when the source does not have the property.
GestureReactionsGets the current value of the gestureReactions constrainable property, or null when the source does not have the property.
GroupIdGets the current value of the groupId constrainable property, or null when the source does not have the property.
HeightGets the current value of the height constrainable property, or null when the source does not have the property.
HumanFaceDetectionModeGets the current value of the humanFaceDetectionMode constrainable property, or null when the source does not have the property.
IsoGets the current value of the iso constrainable property, or null when the source does not have the property.
LatencyGets the current value of the latency constrainable property, or null when the source does not have the property.
LogicalSurfaceGets the current value of the logicalSurface constrainable property, or null when the source does not have the property.
NoiseSuppressionGets the current value of the noiseSuppression constrainable property, or null when the source does not have the property.
PanGets the current value of the pan constrainable property, or null when the source does not have the property.
PointsOfInterestGets the current value of the pointsOfInterest constrainable property, or null when the source does not have the property.
PowerEfficientGets the current value of the powerEfficient constrainable property, or null when the source does not have the property.
PowerEfficientPixelFormatGets the current value of the powerEfficientPixelFormat constrainable property, or null when the source does not have the property.
ResizeModeGets the current value of the resizeMode constrainable property, or null when the source does not have the property.
RestrictOwnAudioGets the current value of the restrictOwnAudio constrainable property, or null when the source does not have the property.
SampleRateGets the current value of the sampleRate constrainable property, or null when the source does not have the property.
SampleSizeGets the current value of the sampleSize constrainable property, or null when the source does not have the property.
SaturationGets the current value of the saturation constrainable property, or null when the source does not have the property.
ScreenPixelRatioGets the current value of the screenPixelRatio constrainable property, or null when the source does not have the property.
SharpnessGets the current value of the sharpness constrainable property, or null when the source does not have the property.
SuppressLocalAudioPlaybackGets the current value of the suppressLocalAudioPlayback constrainable property, or null when the source does not have the property.
TiltGets the current value of the tilt constrainable property, or null when the source does not have the property.
TorchGets the current value of the torch constrainable property, or null when the source does not have the property.
VoiceIsolationGets the current value of the voiceIsolation constrainable property, or null when the source does not have the property.
WhiteBalanceModeGets the current value of the whiteBalanceMode constrainable property, or null when the source does not have the property.
WidthGets the current value of the width constrainable property, or null when the source does not have the property.
ZoomGets the current value of the zoom constrainable property, or null when the source does not have the property.

Gets the current value of the aspectRatio constrainable property, or null when the source does not have the property.

public double? AspectRatio { get; init; }

Gets the current value of the autoGainControl constrainable property, or null when the source does not have the property.

public bool? AutoGainControl { get; init; }

Gets the current value of the backgroundBlur constrainable property, or null when the source does not have the property.

public bool? BackgroundBlur { get; init; }

BackgroundSegmentationMask

MediaTrackConstraints.Dictionaries.cs

Gets the current value of the backgroundSegmentationMask constrainable property, or null when the source does not have the property.

public bool? BackgroundSegmentationMask { get; init; }

Gets the current value of the brightness constrainable property, or null when the source does not have the property.

public double? Brightness { get; init; }

Gets the current value of the channelCount constrainable property, or null when the source does not have the property.

public uint? ChannelCount { get; init; }

Gets the current value of the colorTemperature constrainable property, or null when the source does not have the property.

public double? ColorTemperature { get; init; }

Gets the current value of the contrast constrainable property, or null when the source does not have the property.

public double? Contrast { get; init; }

Gets the current value of the cursor constrainable property, or null when the source does not have the property.

public string? Cursor { get; init; }

Gets the current value of the deviceId constrainable property, or null when the source does not have the property.

public string? DeviceId { get; init; }

Gets the current value of the displaySurface constrainable property, or null when the source does not have the property.

public string? DisplaySurface { get; init; }

Gets the current value of the echoCancellation constrainable property, or null when the source does not have the property.

public BooleanOrString? EchoCancellation { get; init; }

Gets the current value of the exposureCompensation constrainable property, or null when the source does not have the property.

public double? ExposureCompensation { get; init; }

Gets the current value of the exposureMode constrainable property, or null when the source does not have the property.

public string? ExposureMode { get; init; }

Gets the current value of the exposureTime constrainable property, or null when the source does not have the property.

public double? ExposureTime { get; init; }

Gets the current value of the eyeGazeCorrection constrainable property, or null when the source does not have the property.

public bool? EyeGazeCorrection { get; init; }

Gets the current value of the faceFraming constrainable property, or null when the source does not have the property.

public bool? FaceFraming { get; init; }

Gets the current value of the facingMode constrainable property, or null when the source does not have the property.

public string? FacingMode { get; init; }

Gets the current value of the focusDistance constrainable property, or null when the source does not have the property.

public double? FocusDistance { get; init; }

Gets the current value of the focusMode constrainable property, or null when the source does not have the property.

public string? FocusMode { get; init; }

Gets the current value of the frameRate constrainable property, or null when the source does not have the property.

public double? FrameRate { get; init; }

Gets 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; }

Gets the current value of the height constrainable property, or null when the source does not have the property.

public uint? Height { get; init; }

Gets 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; }

Gets the current value of the logicalSurface constrainable property, or null when the source does not have the property.

public bool? LogicalSurface { get; init; }

Gets the current value of the noiseSuppression constrainable property, or null when the source does not have the property.

public bool? NoiseSuppression { get; init; }

Gets the current value of the pan constrainable property, or null when the source does not have the property.

public double? Pan { get; init; }

Gets the current value of the pointsOfInterest constrainable property, or null when the source does not have the property.

public IReadOnlyList<Point2D>? PointsOfInterest { get; init; }

Gets 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.cs

Gets the current value of the powerEfficientPixelFormat constrainable property, or null when the source does not have the property.

public bool? PowerEfficientPixelFormat { get; init; }

Gets the current value of the resizeMode constrainable property, or null when the source does not have the property.

public string? ResizeMode { get; init; }

Gets the current value of the restrictOwnAudio constrainable property, or null when the source does not have the property.

public bool? RestrictOwnAudio { get; init; }

Gets the current value of the sampleRate constrainable property, or null when the source does not have the property.

public uint? SampleRate { get; init; }

Gets the current value of the sampleSize constrainable property, or null when the source does not have the property.

public uint? SampleSize { get; init; }

Gets the current value of the saturation constrainable property, or null when the source does not have the property.

public double? Saturation { get; init; }

Gets 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; }

SuppressLocalAudioPlayback

MediaTrackConstraints.Dictionaries.cs

Gets 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; }

Gets the current value of the voiceIsolation constrainable property, or null when the source does not have the property.

public bool? VoiceIsolation { get; init; }

Gets the current value of the whiteBalanceMode constrainable property, or null when the source does not have the property.

public string? WhiteBalanceMode { get; init; }

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; }