@@ -808,6 +808,7 @@ interface MediaTrackCapabilities {
808
808
809
809
interface MediaTrackConstraintSet {
810
810
aspectRatio?: ConstrainDouble;
811
+ autoGainControl?: ConstrainBoolean;
811
812
channelCount?: ConstrainULong;
812
813
deviceId?: ConstrainDOMString;
813
814
echoCancellation?: ConstrainBoolean;
@@ -816,6 +817,7 @@ interface MediaTrackConstraintSet {
816
817
groupId?: ConstrainDOMString;
817
818
height?: ConstrainULong;
818
819
latency?: ConstrainDouble;
820
+ noiseSuppression?: ConstrainBoolean;
819
821
sampleRate?: ConstrainULong;
820
822
sampleSize?: ConstrainULong;
821
823
suppressLocalAudioPlayback?: ConstrainBoolean;
@@ -828,12 +830,14 @@ interface MediaTrackConstraints extends MediaTrackConstraintSet {
828
830
829
831
interface MediaTrackSettings {
830
832
aspectRatio?: number;
833
+ autoGainControl?: boolean;
831
834
deviceId?: string;
832
835
echoCancellation?: boolean;
833
836
facingMode?: string;
834
837
frameRate?: number;
835
838
groupId?: string;
836
839
height?: number;
840
+ noiseSuppression?: boolean;
837
841
restrictOwnAudio?: boolean;
838
842
sampleRate?: number;
839
843
sampleSize?: number;
@@ -842,12 +846,14 @@ interface MediaTrackSettings {
842
846
843
847
interface MediaTrackSupportedConstraints {
844
848
aspectRatio?: boolean;
849
+ autoGainControl?: boolean;
845
850
deviceId?: boolean;
846
851
echoCancellation?: boolean;
847
852
facingMode?: boolean;
848
853
frameRate?: boolean;
849
854
groupId?: boolean;
850
855
height?: boolean;
856
+ noiseSuppression?: boolean;
851
857
sampleRate?: boolean;
852
858
sampleSize?: boolean;
853
859
suppressLocalAudioPlayback?: boolean;
0 commit comments