From 2e42d6aeac548bec86aa5fea92379e952200470c Mon Sep 17 00:00:00 2001 From: Bryant Chandler Date: Fri, 15 Nov 2024 16:49:22 +0000 Subject: [PATCH] Address PR comments --- index.html | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 2b060b4..3eae963 100644 --- a/index.html +++ b/index.html @@ -1877,8 +1877,8 @@

Examples

-

Camera Effect Status

-

The {{VideoFrameMetadata}} interface exposes the effect state as a property, +

Background Blur Effect Status

+

The {{VideoFrameMetadata}} interface exposes the blur state as a property, which allows apps to know the state for every frame. This is important for scenarios where the app must ensure user privacy by never sending an un-blurred frame off of the user's device.

@@ -1893,7 +1893,10 @@

Members

background_blur of type {{BackgroundBlur}}
-

The state of the background blur effect for the current frame.

+

The state of the background blur effect for the current frame. If + the property isn't present, it indicates that the user agent doesn't + support reporting blur state. +

@@ -1901,15 +1904,22 @@

Members

{{BackgroundBlur}}

-dictionary BackgroundBlur {
-  boolean enabled;
+dictionary BackgroundBlur: MediaEffectInfo {};
+
+
+
+
+

{{MediaEffectInfo}}

+
+dictionary MediaEffectInfo {
+  required boolean enabled;
 };
-

Dictionary {{BackgroundBlur}} Members

-
+

Dictionary {{MediaEffectInfo}} Members

+
enabled of type {{boolean}}
-

True if background blur is enabled, false otherwise. This isn't a strong guarantee, as user +

True if the effect is enabled, false otherwise. This isn't a strong guarantee, as user agents likely can't detect all possible video manipulation software.