@@ -1101,7 +1101,10 @@ interface MediaTrackSettings {
1101
1101
noiseSuppression?: boolean;
1102
1102
sampleRate?: number;
1103
1103
sampleSize?: number;
1104
+ torch?: boolean;
1105
+ whiteBalanceMode?: string;
1104
1106
width?: number;
1107
+ zoom?: number;
1105
1108
}
1106
1109
1107
1110
interface MediaTrackSupportedConstraints {
@@ -1709,6 +1712,9 @@ interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
1709
1712
trackIdentifier: string;
1710
1713
}
1711
1714
1715
+ interface RTCLocalIceCandidateInit extends RTCIceCandidateInit {
1716
+ }
1717
+
1712
1718
interface RTCLocalSessionDescriptionInit {
1713
1719
sdp?: string;
1714
1720
type?: RTCSdpType;
@@ -15275,7 +15281,7 @@ interface ImageData {
15275
15281
*
15276
15282
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
15277
15283
*/
15278
- readonly data: Uint8ClampedArray ;
15284
+ readonly data: ImageDataArray ;
15279
15285
/**
15280
15286
* Returns the actual dimensions of the data in the ImageData object, in pixels.
15281
15287
*
@@ -15293,7 +15299,7 @@ interface ImageData {
15293
15299
declare var ImageData: {
15294
15300
prototype: ImageData;
15295
15301
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
15296
- new(data: Uint8ClampedArray , sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
15302
+ new(data: ImageDataArray , sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
15297
15303
};
15298
15304
15299
15305
/**
@@ -19247,7 +19253,7 @@ interface RTCIceCandidate {
19247
19253
19248
19254
declare var RTCIceCandidate: {
19249
19255
prototype: RTCIceCandidate;
19250
- new(candidateInitDict?: RTCIceCandidateInit ): RTCIceCandidate;
19256
+ new(candidateInitDict?: RTCLocalIceCandidateInit ): RTCIceCandidate;
19251
19257
};
19252
19258
19253
19259
interface RTCIceCandidatePair {
@@ -29674,6 +29680,7 @@ type HeadersInit = [string, string][] | Record<string, string> | Headers;
29674
29680
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
29675
29681
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
29676
29682
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;
29683
+ type ImageDataArray = Uint8ClampedArray;
29677
29684
type Int32List = Int32Array | GLint[];
29678
29685
type LineAndPositionSetting = number | AutoKeyword;
29679
29686
type MediaProvider = MediaStream | MediaSource | Blob;
0 commit comments