Skip to content

Commit 6f6f9a1

Browse files
authored
Adds autoGainControl and noiseSuppression properties (#1152)
* Adds autoGainControl and noiseSuppression properties * Remove autoGainControl and noiseSuppression
1 parent 28aeada commit 6f6f9a1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

baselines/dom.generated.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,7 @@ interface MediaTrackCapabilities {
808808

809809
interface MediaTrackConstraintSet {
810810
aspectRatio?: ConstrainDouble;
811+
autoGainControl?: ConstrainBoolean;
811812
channelCount?: ConstrainULong;
812813
deviceId?: ConstrainDOMString;
813814
echoCancellation?: ConstrainBoolean;
@@ -816,6 +817,7 @@ interface MediaTrackConstraintSet {
816817
groupId?: ConstrainDOMString;
817818
height?: ConstrainULong;
818819
latency?: ConstrainDouble;
820+
noiseSuppression?: ConstrainBoolean;
819821
sampleRate?: ConstrainULong;
820822
sampleSize?: ConstrainULong;
821823
suppressLocalAudioPlayback?: ConstrainBoolean;
@@ -828,12 +830,14 @@ interface MediaTrackConstraints extends MediaTrackConstraintSet {
828830

829831
interface MediaTrackSettings {
830832
aspectRatio?: number;
833+
autoGainControl?: boolean;
831834
deviceId?: string;
832835
echoCancellation?: boolean;
833836
facingMode?: string;
834837
frameRate?: number;
835838
groupId?: string;
836839
height?: number;
840+
noiseSuppression?: boolean;
837841
restrictOwnAudio?: boolean;
838842
sampleRate?: number;
839843
sampleSize?: number;
@@ -842,12 +846,14 @@ interface MediaTrackSettings {
842846

843847
interface MediaTrackSupportedConstraints {
844848
aspectRatio?: boolean;
849+
autoGainControl?: boolean;
845850
deviceId?: boolean;
846851
echoCancellation?: boolean;
847852
facingMode?: boolean;
848853
frameRate?: boolean;
849854
groupId?: boolean;
850855
height?: boolean;
856+
noiseSuppression?: boolean;
851857
sampleRate?: boolean;
852858
sampleSize?: boolean;
853859
suppressLocalAudioPlayback?: boolean;

inputfiles/removedTypes.jsonc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -310,11 +310,9 @@
310310
"MediaTrackConstraintSet": {
311311
"members": {
312312
"member": {
313-
"autoGainControl": null,
314313
"cursor": null,
315314
"displaySurface": null,
316315
"logicalSurface": null,
317-
"noiseSuppression": null,
318316
"resizeMode": null,
319317
"restrictOwnAudio": null,
320318
"whiteBalanceMode": null,
@@ -341,13 +339,11 @@
341339
"MediaTrackSettings": {
342340
"members": {
343341
"member": {
344-
"autoGainControl": null,
345342
"channelCount": null,
346343
"cursor": null,
347344
"displaySurface": null,
348345
"latency": null,
349346
"logicalSurface": null,
350-
"noiseSuppression": null,
351347
"resizeMode": null,
352348
"whiteBalanceMode": null,
353349
"exposureMode": null,
@@ -373,13 +369,11 @@
373369
"MediaTrackSupportedConstraints": {
374370
"members": {
375371
"member": {
376-
"autoGainControl": null,
377372
"channelCount": null,
378373
"cursor": null,
379374
"displaySurface": null,
380375
"latency": null,
381376
"logicalSurface": null,
382-
"noiseSuppression": null,
383377
"resizeMode": null,
384378
"restrictOwnAudio": null,
385379
"whiteBalanceMode": null,

0 commit comments

Comments
 (0)