From 0c9cd470fd82af5cf51ad6a60d365f9b42efcb33 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Tue, 9 Dec 2025 08:13:47 +0200 Subject: [PATCH 1/4] Migrate enums --- inputfiles/patches/fetch.kdl | 5 ++ inputfiles/patches/media-session.kdl | 12 +++++ inputfiles/patches/mst-content-hint.kdl | 5 ++ inputfiles/patches/net-info.kdl | 5 ++ inputfiles/patches/video.kdl | 34 +++++++++++++ inputfiles/removedTypes.jsonc | 64 +------------------------ 6 files changed, 62 insertions(+), 63 deletions(-) create mode 100644 inputfiles/patches/fetch.kdl create mode 100644 inputfiles/patches/media-session.kdl create mode 100644 inputfiles/patches/mst-content-hint.kdl create mode 100644 inputfiles/patches/net-info.kdl create mode 100644 inputfiles/patches/video.kdl diff --git a/inputfiles/patches/fetch.kdl b/inputfiles/patches/fetch.kdl new file mode 100644 index 000000000..1cc6c8f5c --- /dev/null +++ b/inputfiles/patches/fetch.kdl @@ -0,0 +1,5 @@ +removals { + enum RequestDestination { + json // No implementation as of 2023-11 + } +} diff --git a/inputfiles/patches/media-session.kdl b/inputfiles/patches/media-session.kdl new file mode 100644 index 000000000..65f512eb6 --- /dev/null +++ b/inputfiles/patches/media-session.kdl @@ -0,0 +1,12 @@ +removals { + enum MediaSessionAction { + enterpictureinpicture // Blink only as of 2024-07 + hangup // Blink only as of 2024-07 + nextslide // Blink only as of 2024-07 + previousslide // Blink only as of 2024-07 + togglecamera // Blink only as of 2024-07 + togglemicrophone // Blink only as of 2024-07 + togglescreenshare // No implementation as of 2024-07 + voiceactivity // No implementation as of 2024-07 + } +} diff --git a/inputfiles/patches/mst-content-hint.kdl b/inputfiles/patches/mst-content-hint.kdl new file mode 100644 index 000000000..06c3cb2eb --- /dev/null +++ b/inputfiles/patches/mst-content-hint.kdl @@ -0,0 +1,5 @@ +removals { + enum RTCDegradationPreference { + maintain-framerate-and-resolution // No implementation as of 2025-10 + } +} diff --git a/inputfiles/patches/net-info.kdl b/inputfiles/patches/net-info.kdl new file mode 100644 index 000000000..bcec8d9f0 --- /dev/null +++ b/inputfiles/patches/net-info.kdl @@ -0,0 +1,5 @@ +removals { + enum ConnectionType { + wimax + } +} diff --git a/inputfiles/patches/video.kdl b/inputfiles/patches/video.kdl new file mode 100644 index 000000000..05e953b92 --- /dev/null +++ b/inputfiles/patches/video.kdl @@ -0,0 +1,34 @@ +removals { + enum VideoColorPrimaries { + bt2020 // Blink only as of 2022-10 + smpte432 // Blink only as of 2022-10 + } + + enum VideoMatrixCoefficients { + bt2020-ncl // Blink only as of 2022-10 + } + + enum VideoPixelFormat { + // All no implementation as of 2024-03 + I420AP10 + I420AP12 + I420P10 + I420P12 + I422A + I422AP10 + I422AP12 + I422P10 + I422P12 + I444A + I444AP10 + I444AP12 + I444P10 + I444P12 + } + + enum VideoTransferCharacteristics { + hlg // Blink only as of 2022-10 + linear // Blink only as of 2022-10 + pq // Blink only as of 2022-10 + } +} diff --git a/inputfiles/removedTypes.jsonc b/inputfiles/removedTypes.jsonc index a04f8ad82..06cd05c7d 100644 --- a/inputfiles/removedTypes.jsonc +++ b/inputfiles/removedTypes.jsonc @@ -13,69 +13,7 @@ }, "enums": { "enum": { - "ConnectionType": { - "value": ["wimax"] - }, - "MediaSessionAction": { - "value": [ - "enterpictureinpicture", // Blink only as of 2024-07 - "hangup", // Blink only as of 2024-07 - "nextslide", // Blink only as of as of 2024-07 - "previousslide", // Blink only as of as of 2024-07 - "togglecamera", // Blink only as of 2024-07 - "togglemicrophone", // Blink only as of 2024-07 - "togglescreenshare", // No implementation as of 2024-07 - "voiceactivity" // No implementation as of 2024-07 - ] - }, - "RequestDestination": { - "value": [ - "json" // No implementation as of 2023-11 - ] - }, - "RTCDegradationPreference": { - "value": [ - "maintain-framerate-and-resolution" // No implementation as of 2025-10j - ] - }, - "ValueType": null, - "VideoColorPrimaries": { - "value": [ - "bt2020", // Blink only as of 2022-10 - "smpte432" // Blink only as of 2022-10 - ] - }, - "VideoMatrixCoefficients": { - "value": [ - "bt2020-ncl" // Blink only as of 2022-10 - ] - }, - "VideoPixelFormat": { - "value": [ - // All no implementation as of 2024-03 - "I420AP10", - "I420AP12", - "I420P10", - "I420P12", - "I422A", - "I422AP10", - "I422AP12", - "I422P10", - "I422P12", - "I444A", - "I444AP10", - "I444AP12", - "I444P10", - "I444P12" - ] - }, - "VideoTransferCharacteristics": { - "value": [ - "hlg", // Blink only as of 2022-10 - "linear", // Blink only as of 2022-10 - "pq" // Blink only as of 2022-10 - ] - } + "ValueType": null } }, "interfaces": { From d6281c34900c168eef5b59ae39cfcf0082c9d72e Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Tue, 9 Dec 2025 10:38:19 +0100 Subject: [PATCH 2/4] Rename net-info.kdl to netinfo.kdl --- inputfiles/patches/{net-info.kdl => netinfo.kdl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename inputfiles/patches/{net-info.kdl => netinfo.kdl} (100%) diff --git a/inputfiles/patches/net-info.kdl b/inputfiles/patches/netinfo.kdl similarity index 100% rename from inputfiles/patches/net-info.kdl rename to inputfiles/patches/netinfo.kdl From 38dc3d929a9827c1f1d1d37b3d128a10a3df61b9 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Tue, 9 Dec 2025 10:39:06 +0100 Subject: [PATCH 3/4] Rename video.kdl to webcodecs.kdl --- inputfiles/patches/{video.kdl => webcodecs.kdl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename inputfiles/patches/{video.kdl => webcodecs.kdl} (100%) diff --git a/inputfiles/patches/video.kdl b/inputfiles/patches/webcodecs.kdl similarity index 100% rename from inputfiles/patches/video.kdl rename to inputfiles/patches/webcodecs.kdl From 5acd04f322dbadb6a8ec04fc861c8de23164ddd7 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Tue, 9 Dec 2025 10:55:42 +0100 Subject: [PATCH 4/4] Rename media-session.kdl to mediasession.kdl --- inputfiles/patches/{media-session.kdl => mediasession.kdl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename inputfiles/patches/{media-session.kdl => mediasession.kdl} (100%) diff --git a/inputfiles/patches/media-session.kdl b/inputfiles/patches/mediasession.kdl similarity index 100% rename from inputfiles/patches/media-session.kdl rename to inputfiles/patches/mediasession.kdl