diff --git a/inputfiles/patches/webrtc-encoded-transform.kdl b/inputfiles/patches/webrtc-encoded-transform.kdl new file mode 100644 index 000000000..032ae777e --- /dev/null +++ b/inputfiles/patches/webrtc-encoded-transform.kdl @@ -0,0 +1,11 @@ +removals { + dictionary RTCEncodedAudioFrameMetadata { + member audioLevel // No implementation as of 2025-05 + } + + dictionary RTCEncodedFrameMetadata { + member captureTime // Blink only as of 2025-05 + member receiveTime // Blink only as of 2025-05 + member senderCaptureTimeOffset // Blink only as of 2025-05 + } +} diff --git a/inputfiles/patches/webrtc-stats.kdl b/inputfiles/patches/webrtc-stats.kdl new file mode 100644 index 000000000..7e6da8c34 --- /dev/null +++ b/inputfiles/patches/webrtc-stats.kdl @@ -0,0 +1,32 @@ +removals { + dictionary RTCInboundRtpStreamStats { + // https://searchfox.org/mozilla-central/source/dom/webidl/RTCStatsReport.webidl + // https://searchfox.org/wubkat/source/Source/WebCore/Modules/mediastream/RTCStatsReport.idl + // https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/stats/rtcstats_objects.cc + member corruptionMeasurements // Blink only as of 2024-11 + member powerEfficientDecoder // Blink only as of 2024-11 + member totalCorruptionProbability // Blink only as of 2024-11 + member totalSquaredCorruptionProbability // Blink only as of 2024-11 + } + + dictionary RTCOutboundRtpStreamStats { + member powerEfficientEncoder // Blink only as of 2025-07 + member encoderImplementation // Blink only as of 2025-07 + member encodingIndex // Blink only as of 2025-07 + member packetsSentWithEct1 // No implementation as of 2025-08 + member psnrMeasurements // No implementation as of 2025-07 + member psnrSum // No implementation as of 2025-07 + } + + dictionary RTCReceivedRtpStreamStats { + member packetsReceivedWithCe // No implementation as of 2025-04 + member packetsReceivedWithEct1 // No implementation as of 2025-04 + member packetsReportedAsLost // No implementation as of 2025-04 + member packetsReportedAsLostButRecovered // No implementation as of 2025-04 + } + + dictionary RTCTransportStats { + member ccfbMessagesReceived // No implementation as of 2025-04 + member ccfbMessagesSent // No implementation as of 2025-04 + } +} diff --git a/inputfiles/patches/webrtc.kdl b/inputfiles/patches/webrtc.kdl new file mode 100644 index 000000000..64fa562f6 --- /dev/null +++ b/inputfiles/patches/webrtc.kdl @@ -0,0 +1,23 @@ +removals { + dictionary RTCConfiguration { + member peerIdentity // Gecko only as of 2024-11 + } + + dictionary RTCDataChannelInit { + member priority // Blink experimental only as of 2024-11 + } + + dictionary RTCLocalIceCandidateInit { + member relayProtocol // Blink only as of 2025-04 + member url // Blink only as of 2025-04 + } + + dictionary RTCPeerConnectionIceEventInit { + member url // WebKit only as of 2025-04 + } + + dictionary RTCRtpEncodingParameters { + member codec // Blink only as of 2024-11 + member scalabilityMode // Blink only as of 2024-11 + } +} diff --git a/inputfiles/removedTypes.jsonc b/inputfiles/removedTypes.jsonc index 06cd05c7d..158f5ba31 100644 --- a/inputfiles/removedTypes.jsonc +++ b/inputfiles/removedTypes.jsonc @@ -365,102 +365,6 @@ } } }, - "RTCEncodedAudioFrameMetadata": { - "members": { - "member": { - "audioLevel": null // No implementation as of 2025-05 - } - } - }, - "RTCEncodedFrameMetadata": { - "members": { - "member": { - "captureTime": null, // Blink only as of 2025-05 - "receiveTime": null, // Blink only as of 2025-05 - "senderCaptureTimeOffset": null // Blink only as of 2025-05 - } - } - }, - "RTCConfiguration": { - "members": { - "member": { - "peerIdentity": null // Gecko only as of 2024-11 - } - } - }, - "RTCDataChannelInit": { - "members": { - "member": { - "priority": null // Blink experimental only as of 2024-11 - } - } - }, - "RTCInboundRtpStreamStats": { - "members": { - "member": { - // https://searchfox.org/mozilla-central/source/dom/webidl/RTCStatsReport.webidl - // https://searchfox.org/wubkat/source/Source/WebCore/Modules/mediastream/RTCStatsReport.idl - // https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/stats/rtcstats_objects.cc - "corruptionMeasurements": null, // Blink only as of 2024-11 - "powerEfficientDecoder": null, // Blink only as of 2024-11 - "totalCorruptionProbability": null, // Blink only as of 2024-11 - "totalSquaredCorruptionProbability": null // Blink only as of 2024-11 - } - } - }, - "RTCLocalIceCandidateInit": { - "members": { - "member": { - "relayProtocol": null, // Blink only as of 2025-04 - "url": null // Blink only as of 2025-04 - } - } - }, - "RTCOutboundRtpStreamStats": { - "members": { - "member": { - "powerEfficientEncoder": null, // Blink only as of 2025-07 - "encoderImplementation": null, // Blink only as of 2025-07 - "encodingIndex": null, // Blink only as of 2025-07 - "packetsSentWithEct1": null, // No implementation as of 2025-08 - "psnrMeasurements": null, // No implementation as of 2025-07 - "psnrSum": null // No implementation as of 2025-07 - } - } - }, - "RTCReceivedRtpStreamStats": { - "members": { - "member": { - "packetsReceivedWithCe": null, // No implementation as of 2025-04 - "packetsReceivedWithEct1": null, // No implementation as of 2025-04 - "packetsReportedAsLost": null, // No implementation as of 2025-04 - "packetsReportedAsLostButRecovered": null // No implementation as of 2025-04 - } - } - }, - "RTCPeerConnectionIceEventInit": { - "members": { - "member": { - "url": null // WebKit only as of 2025-04 - } - } - }, - "RTCRtpEncodingParameters": { - "members": { - "member": { - "codec": null, // Blink only as of 2024-11 - "scalabilityMode": null // Blink only as of 2024-11 - } - } - }, - "RTCTransportStats": { - "members": { - "member": { - "ccfbMessagesReceived": null, // No implementation as of 2025-04 - "ccfbMessagesSent": null // No implementation as of 2025-04 - } - } - }, "ScrollIntoViewOptions": { "members": { "member": {