@@ -1501,19 +1501,18 @@ interface RTCRtpCapabilities {
15011501 headerExtensions: RTCRtpHeaderExtensionCapability[];
15021502}
15031503
1504- interface RTCRtpCodecCapability {
1504+ interface RTCRtpCodec {
15051505 channels?: number;
15061506 clockRate: number;
15071507 mimeType: string;
15081508 sdpFmtpLine?: string;
15091509}
15101510
1511- interface RTCRtpCodecParameters {
1512- channels?: number;
1513- clockRate: number;
1514- mimeType: string;
1511+ interface RTCRtpCodecCapability extends RTCRtpCodec {
1512+ }
1513+
1514+ interface RTCRtpCodecParameters extends RTCRtpCodec {
15151515 payloadType: number;
1516- sdpFmtpLine?: string;
15171516}
15181517
15191518interface RTCRtpCodingParameters {
@@ -1537,7 +1536,7 @@ interface RTCRtpEncodingParameters extends RTCRtpCodingParameters {
15371536}
15381537
15391538interface RTCRtpHeaderExtensionCapability {
1540- uri? : string;
1539+ uri: string;
15411540}
15421541
15431542interface RTCRtpHeaderExtensionParameters {
@@ -5690,7 +5689,7 @@ interface CompressionStream extends GenericTransformStream {
56905689
56915690declare var CompressionStream: {
56925691 prototype: CompressionStream;
5693- new(format: string ): CompressionStream;
5692+ new(format: CompressionFormat ): CompressionStream;
56945693};
56955694
56965695/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode) */
@@ -6564,7 +6563,7 @@ interface DecompressionStream extends GenericTransformStream {
65646563
65656564declare var DecompressionStream: {
65666565 prototype: DecompressionStream;
6567- new(format: string ): DecompressionStream;
6566+ new(format: CompressionFormat ): DecompressionStream;
65686567};
65696568
65706569/**
@@ -27813,6 +27812,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
2781327812type ColorSpaceConversion = "default" | "none";
2781427813type CompositeOperation = "accumulate" | "add" | "replace";
2781527814type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
27815+ type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
2781627816type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
2781727817type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
2781827818type DirectionSetting = "" | "lr" | "rl";
0 commit comments