Interface MediaTrackSettings
interface MediaTrackSettings {
aspectRatio?: number;
autoGainControl?: boolean;
backgroundBlur?: boolean;
channelCount?: number;
deviceId?: string;
displaySurface?: string;
echoCancellation?: boolean;
facingMode?: string;
frameRate?: number;
groupId?: string;
height?: number;
noiseSuppression?: boolean;
sampleRate?: number;
sampleSize?: number;
width?: number;
}
aspectRatio?: number;
autoGainControl?: boolean;
backgroundBlur?: boolean;
channelCount?: number;
deviceId?: string;
displaySurface?: string;
echoCancellation?: boolean;
facingMode?: string;
frameRate?: number;
groupId?: string;
height?: number;
noiseSuppression?: boolean;
sampleRate?: number;
sampleSize?: number;
width?: number;
}
 Properties
OptionalaspectRatio 
aspectRatio?: number
OptionalautoGainControl  
autoGainControl?: boolean
OptionalbackgroundBlur 
backgroundBlur?: boolean
OptionalchannelCount 
channelCount?: number
OptionaldeviceId 
deviceId?: string
OptionaldisplaySurface 
displaySurface?: string
OptionalechoCancellation 
echoCancellation?: boolean
OptionalfacingMode 
facingMode?: string
OptionalframeRate 
frameRate?: number
OptionalgroupId 
groupId?: string
Optionalheight
height?: number
OptionalnoiseSuppression 
noiseSuppression?: boolean
OptionalsampleRate 
sampleRate?: number
OptionalsampleSize 
sampleSize?: number
Optionalwidth
width?: number