Skip to content

Commit 4c400b1

Browse files
committed
Migrate WebRTC removed types
1 parent c91b223 commit 4c400b1

File tree

4 files changed

+66
-96
lines changed

4 files changed

+66
-96
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
removals {
2+
dictionary RTCEncodedAudioFrameMetadata {
3+
member audioLevel // No implementation as of 2025-05
4+
}
5+
6+
dictionary RTCEncodedFrameMetadata {
7+
member captureTime // Blink only as of 2025-05
8+
member receiveTime // Blink only as of 2025-05
9+
member senderCaptureTimeOffset // Blink only as of 2025-05
10+
}
11+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
removals {
2+
dictionary RTCInboundRtpStreamStats {
3+
// https://searchfox.org/mozilla-central/source/dom/webidl/RTCStatsReport.webidl
4+
// https://searchfox.org/wubkat/source/Source/WebCore/Modules/mediastream/RTCStatsReport.idl
5+
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/stats/rtcstats_objects.cc
6+
member corruptionMeasurements // Blink only as of 2024-11
7+
member powerEfficientDecoder // Blink only as of 2024-11
8+
member totalCorruptionProbability // Blink only as of 2024-11
9+
member totalSquaredCorruptionProbability // Blink only as of 2024-11
10+
}
11+
12+
dictionary RTCOutboundRtpStreamStats {
13+
member powerEfficientEncoder // Blink only as of 2025-07
14+
member encoderImplementation // Blink only as of 2025-07
15+
member encodingIndex // Blink only as of 2025-07
16+
member packetsSentWithEct1 // No implementation as of 2025-08
17+
member psnrMeasurements // No implementation as of 2025-07
18+
member psnrSum // No implementation as of 2025-07
19+
}
20+
21+
dictionary RTCReceivedRtpStreamStats {
22+
member packetsReceivedWithCe // No implementation as of 2025-04
23+
member packetsReceivedWithEct1 // No implementation as of 2025-04
24+
member packetsReportedAsLost // No implementation as of 2025-04
25+
member packetsReportedAsLostButRecovered // No implementation as of 2025-04
26+
}
27+
28+
dictionary RTCTransportStats {
29+
member ccfbMessagesReceived // No implementation as of 2025-04
30+
member ccfbMessagesSent // No implementation as of 2025-04
31+
}
32+
}

inputfiles/patches/webrtc.kdl

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
removals {
2+
dictionary RTCConfiguration {
3+
member peerIdentity // Gecko only as of 2024-11
4+
}
5+
6+
dictionary RTCDataChannelInit {
7+
member priority // Blink experimental only as of 2024-11
8+
}
9+
10+
dictionary RTCLocalIceCandidateInit {
11+
member relayProtocol // Blink only as of 2025-04
12+
member url // Blink only as of 2025-04
13+
}
14+
15+
dictionary RTCPeerConnectionIceEventInit {
16+
member url // WebKit only as of 2025-04
17+
}
18+
19+
dictionary RTCRtpEncodingParameters {
20+
member codec // Blink only as of 2024-11
21+
member scalabilityMode // Blink only as of 2024-11
22+
}
23+
}

inputfiles/removedTypes.jsonc

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -365,102 +365,6 @@
365365
}
366366
}
367367
},
368-
"RTCEncodedAudioFrameMetadata": {
369-
"members": {
370-
"member": {
371-
"audioLevel": null // No implementation as of 2025-05
372-
}
373-
}
374-
},
375-
"RTCEncodedFrameMetadata": {
376-
"members": {
377-
"member": {
378-
"captureTime": null, // Blink only as of 2025-05
379-
"receiveTime": null, // Blink only as of 2025-05
380-
"senderCaptureTimeOffset": null // Blink only as of 2025-05
381-
}
382-
}
383-
},
384-
"RTCConfiguration": {
385-
"members": {
386-
"member": {
387-
"peerIdentity": null // Gecko only as of 2024-11
388-
}
389-
}
390-
},
391-
"RTCDataChannelInit": {
392-
"members": {
393-
"member": {
394-
"priority": null // Blink experimental only as of 2024-11
395-
}
396-
}
397-
},
398-
"RTCInboundRtpStreamStats": {
399-
"members": {
400-
"member": {
401-
// https://searchfox.org/mozilla-central/source/dom/webidl/RTCStatsReport.webidl
402-
// https://searchfox.org/wubkat/source/Source/WebCore/Modules/mediastream/RTCStatsReport.idl
403-
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/stats/rtcstats_objects.cc
404-
"corruptionMeasurements": null, // Blink only as of 2024-11
405-
"powerEfficientDecoder": null, // Blink only as of 2024-11
406-
"totalCorruptionProbability": null, // Blink only as of 2024-11
407-
"totalSquaredCorruptionProbability": null // Blink only as of 2024-11
408-
}
409-
}
410-
},
411-
"RTCLocalIceCandidateInit": {
412-
"members": {
413-
"member": {
414-
"relayProtocol": null, // Blink only as of 2025-04
415-
"url": null // Blink only as of 2025-04
416-
}
417-
}
418-
},
419-
"RTCOutboundRtpStreamStats": {
420-
"members": {
421-
"member": {
422-
"powerEfficientEncoder": null, // Blink only as of 2025-07
423-
"encoderImplementation": null, // Blink only as of 2025-07
424-
"encodingIndex": null, // Blink only as of 2025-07
425-
"packetsSentWithEct1": null, // No implementation as of 2025-08
426-
"psnrMeasurements": null, // No implementation as of 2025-07
427-
"psnrSum": null // No implementation as of 2025-07
428-
}
429-
}
430-
},
431-
"RTCReceivedRtpStreamStats": {
432-
"members": {
433-
"member": {
434-
"packetsReceivedWithCe": null, // No implementation as of 2025-04
435-
"packetsReceivedWithEct1": null, // No implementation as of 2025-04
436-
"packetsReportedAsLost": null, // No implementation as of 2025-04
437-
"packetsReportedAsLostButRecovered": null // No implementation as of 2025-04
438-
}
439-
}
440-
},
441-
"RTCPeerConnectionIceEventInit": {
442-
"members": {
443-
"member": {
444-
"url": null // WebKit only as of 2025-04
445-
}
446-
}
447-
},
448-
"RTCRtpEncodingParameters": {
449-
"members": {
450-
"member": {
451-
"codec": null, // Blink only as of 2024-11
452-
"scalabilityMode": null // Blink only as of 2024-11
453-
}
454-
}
455-
},
456-
"RTCTransportStats": {
457-
"members": {
458-
"member": {
459-
"ccfbMessagesReceived": null, // No implementation as of 2025-04
460-
"ccfbMessagesSent": null // No implementation as of 2025-04
461-
}
462-
}
463-
},
464368
"ScrollIntoViewOptions": {
465369
"members": {
466370
"member": {

0 commit comments

Comments
 (0)