Skip to content

Commit 2b26f8b

Browse files
committed
Fix typos and improve descriotion
1 parent 2fe9065 commit 2b26f8b

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

index.html

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ <h2>Background segmentation mask</h2>
19841984
This allows the web application
19851985
to access the original unmodified frame and
19861986
to fine tune frame modifications based on its likings.
1987-
For that reason, we extend {{MediaStreamTrack}} with the following properties and {{VideoFrame}} with the following attributes.
1987+
For that reason, we extend {{MediaStreamTrack}} with the following properties and {{VideoFrameMetadata}} with the following attributes.
19881988
</p>
19891989
<pre class="idl">
19901990
partial dictionary MediaTrackSupportedConstraints {
@@ -2003,24 +2003,27 @@ <h2>Background segmentation mask</h2>
20032003
sequence&lt;boolean&gt; backgroundSegmentationMask;
20042004
};</pre>
20052005
<section>
2006-
<h3>VideoFrameMetadata dictionary extensions</h3>
2006+
<h3>{{VideoFrameMetadata}}</h3>
20072007
<pre class="idl">
20082008
partial dictionary VideoFrameMetadata {
20092009
ImageBitmap backgroundSegmentationMask;
20102010
};</pre>
2011-
<section>
2012-
<h4>Dictionary {{VideoFrameMetadata}} Members</h4>
2013-
<dl data-link-for="VideoFrameMetadata" data-dfn-for="VideoFrameMetadata" class="dictionary-members">
2014-
<dt><dfn><code>backgroundSegmentationMask</code></dfn>
2015-
of type
2016-
<span class="idlMemberType">{{VideoFrameMetadata}}</span></dt>
2011+
<section class="notoc">
2012+
<h4>Members</h4>
2013+
<dl class="dictionary-members" data-link-for="VideoFrameMetadata" data-dfn-for="VideoFrameMetadata">
2014+
<dt><dfn><code>backgroundSegmentationMask</code></dfn> of type <code>{{ImageBitmap}}</code></dt>
20172015
<dd>
20182016
<p>A background segmentation mask with
20192017
white denoting certainly foreground,
20202018
black denoting certainly background and
20212019
grey denoting uncertainty or ambiguity with
20222020
light shades of grey denoting likely foreground and
2023-
dark shades of grey denoting likely background.</p>
2021+
dark shades of grey denoting likely background.
2022+
Absence might indicate
2023+
that the frame is not from a camera, or
2024+
that the user agent does not support or
2025+
was not able to do background segmentation.
2026+
</p>
20242027
</dd>
20252028
</dl>
20262029
</section>

0 commit comments

Comments
 (0)